model

package
v0.0.0-...-d54e58f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FormatTime

type FormatTime time.Time

func (FormatTime) MarshalJSON

func (f FormatTime) MarshalJSON() ([]byte, error)

type UserRsp

type UserRsp struct {
	Name     string      `json:"name"`
	Age      int         `json:"age"`
	Gender   user.Gender `json:"gender"`
	Mobile   string      `json:"mobile"`
	Email    string      `json:"email"`
	Birthday FormatTime  `json:"birthday"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL