package
Version:
v0.0.0-...-fb83055
Opens a new window with list of versions in this module.
Published: Feb 28, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type User struct {
ID string `json:"id" bson:"_id"`
FirstName string `json:"first_name" bson:"first_name"`
Roles []string `json:"roles" bson:"roles"`
CreatedAt time.Time `bson:"created_at"`
}
type UserFilter struct {
Name string `json:"name"`
Role string `json:"role"`
SortBy string `json:"sort_by"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.