Documentation ¶
Index ¶
- func CharacterToResponse(in *Character, out *mongo.InsertOneResult, now time.Time) *models.Character
- func CharacterToSave(in *Character) *models.NewCharacter
- func CharacterToUpdate(in *CharacterUpdate) *models.UpdateCharacter
- type Character
- type CharacterPaginationResponse
- type CharacterUpdate
- type PaginationInfo
- type Response
- type TeamRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CharacterToResponse ¶
func CharacterToSave ¶
func CharacterToSave(in *Character) *models.NewCharacter
func CharacterToUpdate ¶
func CharacterToUpdate(in *CharacterUpdate) *models.UpdateCharacter
Types ¶
type CharacterPaginationResponse ¶
type CharacterPaginationResponse struct { Info PaginationInfo `json:"info"` Result []*models.Character `json:"result,omitempty"` }
func CharacterToPagination ¶
func CharacterToPagination(characters []*models.Character, info, page, limit int64, url, search string) *CharacterPaginationResponse
type CharacterUpdate ¶
type PaginationInfo ¶
type TeamRequest ¶
Click to show internal directories.
Click to hide internal directories.