gender

package
v0.0.0-...-61fa424 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 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 - Custom type to hold value for gender

const (
	Male Gender = iota
	Female
)

Declare related constants for each direction starting with index 0

func (Gender) EnumIndex

func (g Gender) EnumIndex() int

EnumIndex - Creating common behavior - give the type a EnumIndex function

func (Gender) String

func (g Gender) String() string

String - Creating common behavior - give the type a String function

Jump to

Keyboard shortcuts

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