Discover Packages
github.com/febrihidayan/go-architecture-monorepo
services
user
internal
repositories
mongo
models
package
Version:
v0.0.0-...-31ddaea
Opens a new window with list of versions in this module.
Published: Nov 27, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type User struct {
ID string `bson:"_id"`
Name string `bson:"name"`
Email string `bson:"email"`
Avatar string `bson:"avatar"`
LangCode string `bson:"lang_code"`
EmailVerifiedAt time .Time `bson:"email_verified_at"`
CreatedAt time .Time `bson:"created_at"`
UpdatedAt time .Time `bson:"updated_at"`
}
type UserMeta struct {
Data []*User `bson:"data,omitempty"`
Page int `json:"page,omitempty"`
PerPage int `json:"per_page,omitempty"`
Total int `json:"total,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.