Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { Id int64 `json:"id"` Username string `json:"username"` Password string `json:"-"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` Uuid string `json:"uuid"` }
type UsersStore ¶
type UsersStore struct {
// contains filtered or unexported fields
}
func NewUsersStore ¶
func NewUsersStore(db *sql.DB) UsersStore
func (*UsersStore) GetAllUsers ¶
func (s *UsersStore) GetAllUsers(ctx context.Context, u *[]User) error
Click to show internal directories.
Click to hide internal directories.