gender

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2020 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidGender = errors.New("Invalid Gender value")
)

Functions

This section is empty.

Types

type Gender

type Gender uint8
const (
	Unknown Gender = 0 + iota
	Male
	Female
)

func (Gender) MarshalJSON

func (this Gender) MarshalJSON() ([]byte, error)

func (Gender) String

func (this Gender) String() string

fmt.Stringer

func (*Gender) UnmarshalJSON

func (this *Gender) UnmarshalJSON(b []byte) (err error)

Jump to

Keyboard shortcuts

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