diff --git a/svc/pkg/domain/model/user/type.go b/svc/pkg/domain/model/user/type.go index e1a939a..54b62f9 100644 --- a/svc/pkg/domain/model/user/type.go +++ b/svc/pkg/domain/model/user/type.go @@ -2,19 +2,18 @@ package user import "errors" +// Type represents the type of user. +// This field is currently not used, but it is expected to be used in the future. type Type int const ( TypeNormal Type = 1 - TypeMember Type = 2 ) func NewType(t int) (Type, error) { switch Type(t) { case TypeNormal: return TypeNormal, nil - case TypeMember: - return TypeMember, nil default: return -1, errors.New("USER TYPE VALUE IS INVALID") }