model

package
v0.0.0-...-657a6a2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gender

type Gender int

Gender - gender

const (
	GenderMale   Gender = iota + 1 // male
	GenderFemale                   // female
	GenderCustom                   // custom
)

type User

type User struct {
	ID     string `json:"id"`
	Age    int    `json:"age"`
	Name   string `json:"name"`
	Gender Gender `json:"gender"`
}

User - user

Jump to

Keyboard shortcuts

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