Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { // CreateUser ... CreateUser(ctx context.Context, param User) (returnData User, err error) // Login ... Login(ctx context.Context, param User) (returnData LoginRes, err error) // Profile ... Profile(ctx context.Context, id int64) (returnData Res, err error) }
Service ...
type User ¶
type User struct { ID int64 `json:"id" deepcopier:"ID"` Email string `json:"email" deepcopier:"email"` FullName string `json:"full_name" deepcopier:"FullName"` Phone string `json:"phone" deepcopier:"Phone"` Password string `json:"password,omitempty" deepcopier:"Password"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.