Documentation
¶
Index ¶
- Variables
- type Season1
- type Season2
- type Season_Ic_Ji
- func (v Season_Ic_Ji) Int() int
- func (v Season_Ic_Ji) IsValid() bool
- func (v Season_Ic_Ji) JSON() string
- func (v Season_Ic_Ji) MarshalJSON() ([]byte, error)
- func (v Season_Ic_Ji) Ordinal() int
- func (v *Season_Ic_Ji) Parse(in string) error
- func (v Season_Ic_Ji) String() string
- func (v *Season_Ic_Ji) UnmarshalJSON(text []byte) error
- type Season_Ic_Jj
- func (v Season_Ic_Jj) Int() int
- func (v Season_Ic_Jj) IsValid() bool
- func (v Season_Ic_Jj) JSON() string
- func (v Season_Ic_Jj) MarshalJSON() ([]byte, error)
- func (v Season_Ic_Jj) Ordinal() int
- func (v *Season_Ic_Jj) Parse(in string) error
- func (v Season_Ic_Jj) String() string
- func (v *Season_Ic_Jj) UnmarshalJSON(text []byte) error
- type Season_Ic_Jn
- type Season_Ic_Si
- type Season_Ic_Sn
- type Season_Ic_Ss
- type Season_Ic_Ta
- func (v Season_Ic_Ta) Int() int
- func (v Season_Ic_Ta) IsValid() bool
- func (v Season_Ic_Ta) JSON() string
- func (v Season_Ic_Ta) MarshalJSON() ([]byte, error)
- func (v Season_Ic_Ta) MarshalText() ([]byte, error)
- func (v Season_Ic_Ta) Ordinal() int
- func (v *Season_Ic_Ta) Parse(in string) error
- func (v *Season_Ic_Ta) Scan(value interface{}) error
- func (v Season_Ic_Ta) String() string
- func (v Season_Ic_Ta) Text() string
- func (v *Season_Ic_Ta) UnmarshalJSON(text []byte) error
- func (v *Season_Ic_Ta) UnmarshalText(bs []byte) error
- func (v Season_Ic_Ta) Value() (driver.Value, error)
- type Season_Ic_Ti
- func (v Season_Ic_Ti) Int() int
- func (v Season_Ic_Ti) IsValid() bool
- func (v Season_Ic_Ti) MarshalText() ([]byte, error)
- func (v Season_Ic_Ti) Ordinal() int
- func (v *Season_Ic_Ti) Parse(in string) error
- func (v Season_Ic_Ti) String() string
- func (v Season_Ic_Ti) Text() string
- func (v *Season_Ic_Ti) UnmarshalText(bs []byte) error
- type Season_Ic_Tn
- type Season_Ic_Tt
- func (v Season_Ic_Tt) Int() int
- func (v Season_Ic_Tt) IsValid() bool
- func (v Season_Ic_Tt) MarshalText() ([]byte, error)
- func (v Season_Ic_Tt) Ordinal() int
- func (v *Season_Ic_Tt) Parse(in string) error
- func (v Season_Ic_Tt) String() string
- func (v Season_Ic_Tt) Text() string
- func (v *Season_Ic_Tt) UnmarshalText(bs []byte) error
- type Season_Nc_Ji
- func (v Season_Nc_Ji) Int() int
- func (v Season_Nc_Ji) IsValid() bool
- func (v Season_Nc_Ji) JSON() string
- func (v Season_Nc_Ji) MarshalJSON() ([]byte, error)
- func (v Season_Nc_Ji) Ordinal() int
- func (v *Season_Nc_Ji) Parse(in string) error
- func (v Season_Nc_Ji) String() string
- func (v *Season_Nc_Ji) UnmarshalJSON(text []byte) error
- type Season_Nc_Jj
- func (v Season_Nc_Jj) Int() int
- func (v Season_Nc_Jj) IsValid() bool
- func (v Season_Nc_Jj) JSON() string
- func (v Season_Nc_Jj) MarshalJSON() ([]byte, error)
- func (v Season_Nc_Jj) Ordinal() int
- func (v *Season_Nc_Jj) Parse(in string) error
- func (v Season_Nc_Jj) String() string
- func (v *Season_Nc_Jj) UnmarshalJSON(text []byte) error
- type Season_Nc_Jn
- type Season_Nc_Si
- type Season_Nc_Sn
- type Season_Nc_Ss
- type Season_Nc_Ta
- func (v Season_Nc_Ta) Int() int
- func (v Season_Nc_Ta) IsValid() bool
- func (v Season_Nc_Ta) JSON() string
- func (v Season_Nc_Ta) MarshalJSON() ([]byte, error)
- func (v Season_Nc_Ta) MarshalText() ([]byte, error)
- func (v Season_Nc_Ta) Ordinal() int
- func (v *Season_Nc_Ta) Parse(in string) error
- func (v *Season_Nc_Ta) Scan(value interface{}) error
- func (v Season_Nc_Ta) String() string
- func (v Season_Nc_Ta) Text() string
- func (v *Season_Nc_Ta) UnmarshalJSON(text []byte) error
- func (v *Season_Nc_Ta) UnmarshalText(bs []byte) error
- func (v Season_Nc_Ta) Value() (driver.Value, error)
- type Season_Nc_Ti
- func (v Season_Nc_Ti) Int() int
- func (v Season_Nc_Ti) IsValid() bool
- func (v Season_Nc_Ti) MarshalText() ([]byte, error)
- func (v Season_Nc_Ti) Ordinal() int
- func (v *Season_Nc_Ti) Parse(in string) error
- func (v Season_Nc_Ti) String() string
- func (v Season_Nc_Ti) Text() string
- func (v *Season_Nc_Ti) UnmarshalText(bs []byte) error
- type Season_Nc_Tn
- type Season_Nc_Tt
- func (v Season_Nc_Tt) Int() int
- func (v Season_Nc_Tt) IsValid() bool
- func (v Season_Nc_Tt) MarshalText() ([]byte, error)
- func (v Season_Nc_Tt) Ordinal() int
- func (v *Season_Nc_Tt) Parse(in string) error
- func (v Season_Nc_Tt) String() string
- func (v Season_Nc_Tt) Text() string
- func (v *Season_Nc_Tt) UnmarshalText(bs []byte) error
- type Season_Uc_Ji
- func (v Season_Uc_Ji) Int() int
- func (v Season_Uc_Ji) IsValid() bool
- func (v Season_Uc_Ji) JSON() string
- func (v Season_Uc_Ji) MarshalJSON() ([]byte, error)
- func (v Season_Uc_Ji) Ordinal() int
- func (v *Season_Uc_Ji) Parse(in string) error
- func (v Season_Uc_Ji) String() string
- func (v *Season_Uc_Ji) UnmarshalJSON(text []byte) error
- type Season_Uc_Jj
- func (v Season_Uc_Jj) Int() int
- func (v Season_Uc_Jj) IsValid() bool
- func (v Season_Uc_Jj) JSON() string
- func (v Season_Uc_Jj) MarshalJSON() ([]byte, error)
- func (v Season_Uc_Jj) Ordinal() int
- func (v *Season_Uc_Jj) Parse(in string) error
- func (v Season_Uc_Jj) String() string
- func (v *Season_Uc_Jj) UnmarshalJSON(text []byte) error
- type Season_Uc_Jn
- type Season_Uc_Si
- type Season_Uc_Sn
- type Season_Uc_Ta
- func (v Season_Uc_Ta) Int() int
- func (v Season_Uc_Ta) IsValid() bool
- func (v Season_Uc_Ta) JSON() string
- func (v Season_Uc_Ta) MarshalJSON() ([]byte, error)
- func (v Season_Uc_Ta) MarshalText() ([]byte, error)
- func (v Season_Uc_Ta) Ordinal() int
- func (v *Season_Uc_Ta) Parse(in string) error
- func (v *Season_Uc_Ta) Scan(value interface{}) error
- func (v Season_Uc_Ta) String() string
- func (v Season_Uc_Ta) Text() string
- func (v *Season_Uc_Ta) UnmarshalJSON(text []byte) error
- func (v *Season_Uc_Ta) UnmarshalText(bs []byte) error
- func (v Season_Uc_Ta) Value() (driver.Value, error)
- type Season_Uc_Ti
- func (v Season_Uc_Ti) Int() int
- func (v Season_Uc_Ti) IsValid() bool
- func (v Season_Uc_Ti) MarshalText() ([]byte, error)
- func (v Season_Uc_Ti) Ordinal() int
- func (v *Season_Uc_Ti) Parse(in string) error
- func (v Season_Uc_Ti) String() string
- func (v Season_Uc_Ti) Text() string
- func (v *Season_Uc_Ti) UnmarshalText(bs []byte) error
- type Season_Uc_Tn
- type Season_Uc_Tt
- func (v Season_Uc_Tt) Int() int
- func (v Season_Uc_Tt) IsValid() bool
- func (v Season_Uc_Tt) MarshalText() ([]byte, error)
- func (v Season_Uc_Tt) Ordinal() int
- func (v *Season_Uc_Tt) Parse(in string) error
- func (v Season_Uc_Tt) String() string
- func (v Season_Uc_Tt) Text() string
- func (v *Season_Uc_Tt) UnmarshalText(bs []byte) error
Constants ¶
This section is empty.
Variables ¶
AllSeason1s lists all 4 values in order.
AllSeason2s lists all 4 values in order.
var AllSeason_Ic_Jis = []Season_Ic_Ji{ Spring_Ic_Ji, Summer_Ic_Ji, Autumn_Ic_Ji, Winter_Ic_Ji, }
AllSeason_Ic_Jis lists all 4 values in order.
var AllSeason_Ic_Jjs = []Season_Ic_Jj{ Spring_Ic_Jj, Summer_Ic_Jj, Autumn_Ic_Jj, Winter_Ic_Jj, }
AllSeason_Ic_Jjs lists all 4 values in order.
var AllSeason_Ic_Jns = []Season_Ic_Jn{ Spring_Ic_Jn, Summer_Ic_Jn, Autumn_Ic_Jn, Winter_Ic_Jn, }
AllSeason_Ic_Jns lists all 4 values in order.
var AllSeason_Ic_Sis = []Season_Ic_Si{ Spring_Ic_Si, Summer_Ic_Si, Autumn_Ic_Si, Winter_Ic_Si, }
AllSeason_Ic_Sis lists all 4 values in order.
var AllSeason_Ic_Sns = []Season_Ic_Sn{ Spring_Ic_Sn, Summer_Ic_Sn, Autumn_Ic_Sn, Winter_Ic_Sn, }
AllSeason_Ic_Sns lists all 4 values in order.
var AllSeason_Ic_Sss = []Season_Ic_Ss{ Spring_Ic_Ss, Summer_Ic_Ss, Autumn_Ic_Ss, Winter_Ic_Ss, }
AllSeason_Ic_Sss lists all 4 values in order.
var AllSeason_Ic_Tas = []Season_Ic_Ta{ Spring_Ic_Ta, Summer_Ic_Ta, Autumn_Ic_Ta, Winter_Ic_Ta, }
AllSeason_Ic_Tas lists all 4 values in order.
var AllSeason_Ic_Tis = []Season_Ic_Ti{ Spring_Ic_Ti, Summer_Ic_Ti, Autumn_Ic_Ti, Winter_Ic_Ti, }
AllSeason_Ic_Tis lists all 4 values in order.
var AllSeason_Ic_Tns = []Season_Ic_Tn{ Spring_Ic_Tn, Summer_Ic_Tn, Autumn_Ic_Tn, Winter_Ic_Tn, }
AllSeason_Ic_Tns lists all 4 values in order.
var AllSeason_Ic_Tts = []Season_Ic_Tt{ Spring_Ic_Tt, Summer_Ic_Tt, Autumn_Ic_Tt, Winter_Ic_Tt, }
AllSeason_Ic_Tts lists all 4 values in order.
var AllSeason_Nc_Jis = []Season_Nc_Ji{ Spring_Nc_Ji, Summer_Nc_Ji, Autumn_Nc_Ji, Winter_Nc_Ji, }
AllSeason_Nc_Jis lists all 4 values in order.
var AllSeason_Nc_Jjs = []Season_Nc_Jj{ Spring_Nc_Jj, Summer_Nc_Jj, Autumn_Nc_Jj, Winter_Nc_Jj, }
AllSeason_Nc_Jjs lists all 4 values in order.
var AllSeason_Nc_Jns = []Season_Nc_Jn{ Spring_Nc_Jn, Summer_Nc_Jn, Autumn_Nc_Jn, Winter_Nc_Jn, }
AllSeason_Nc_Jns lists all 4 values in order.
var AllSeason_Nc_Sis = []Season_Nc_Si{ Spring_Nc_Si, Summer_Nc_Si, Autumn_Nc_Si, Winter_Nc_Si, }
AllSeason_Nc_Sis lists all 4 values in order.
var AllSeason_Nc_Sns = []Season_Nc_Sn{ Spring_Nc_Sn, Summer_Nc_Sn, Autumn_Nc_Sn, Winter_Nc_Sn, }
AllSeason_Nc_Sns lists all 4 values in order.
var AllSeason_Nc_Sss = []Season_Nc_Ss{ Spring_Nc_Ss, Summer_Nc_Ss, Autumn_Nc_Ss, Winter_Nc_Ss, }
AllSeason_Nc_Sss lists all 4 values in order.
var AllSeason_Nc_Tas = []Season_Nc_Ta{ Spring_Nc_Ta, Summer_Nc_Ta, Autumn_Nc_Ta, Winter_Nc_Ta, }
AllSeason_Nc_Tas lists all 4 values in order.
var AllSeason_Nc_Tis = []Season_Nc_Ti{ Spring_Nc_Ti, Summer_Nc_Ti, Autumn_Nc_Ti, Winter_Nc_Ti, }
AllSeason_Nc_Tis lists all 4 values in order.
var AllSeason_Nc_Tns = []Season_Nc_Tn{ Spring_Nc_Tn, Summer_Nc_Tn, Autumn_Nc_Tn, Winter_Nc_Tn, }
AllSeason_Nc_Tns lists all 4 values in order.
var AllSeason_Nc_Tts = []Season_Nc_Tt{ Spring_Nc_Tt, Summer_Nc_Tt, Autumn_Nc_Tt, Winter_Nc_Tt, }
AllSeason_Nc_Tts lists all 4 values in order.
var AllSeason_Uc_Jis = []Season_Uc_Ji{ Spring_Uc_Ji, Summer_Uc_Ji, Autumn_Uc_Ji, Winter_Uc_Ji, }
AllSeason_Uc_Jis lists all 4 values in order.
var AllSeason_Uc_Jjs = []Season_Uc_Jj{ Spring_Uc_Jj, Summer_Uc_Jj, Autumn_Uc_Jj, Winter_Uc_Jj, }
AllSeason_Uc_Jjs lists all 4 values in order.
var AllSeason_Uc_Jns = []Season_Uc_Jn{ Spring_Uc_Jn, Summer_Uc_Jn, Autumn_Uc_Jn, Winter_Uc_Jn, }
AllSeason_Uc_Jns lists all 4 values in order.
var AllSeason_Uc_Sis = []Season_Uc_Si{ Spring_Uc_Si, Summer_Uc_Si, Autumn_Uc_Si, Winter_Uc_Si, }
AllSeason_Uc_Sis lists all 4 values in order.
var AllSeason_Uc_Sns = []Season_Uc_Sn{ Spring_Uc_Sn, Summer_Uc_Sn, Autumn_Uc_Sn, Winter_Uc_Sn, }
AllSeason_Uc_Sns lists all 4 values in order.
var AllSeason_Uc_Tas = []Season_Uc_Ta{ Spring_Uc_Ta, Summer_Uc_Ta, Autumn_Uc_Ta, Winter_Uc_Ta, }
AllSeason_Uc_Tas lists all 4 values in order.
var AllSeason_Uc_Tis = []Season_Uc_Ti{ Spring_Uc_Ti, Summer_Uc_Ti, Autumn_Uc_Ti, Winter_Uc_Ti, }
AllSeason_Uc_Tis lists all 4 values in order.
var AllSeason_Uc_Tns = []Season_Uc_Tn{ Spring_Uc_Tn, Summer_Uc_Tn, Autumn_Uc_Tn, Winter_Uc_Tn, }
AllSeason_Uc_Tns lists all 4 values in order.
var AllSeason_Uc_Tts = []Season_Uc_Tt{ Spring_Uc_Tt, Summer_Uc_Tt, Autumn_Uc_Tt, Winter_Uc_Tt, }
AllSeason_Uc_Tts lists all 4 values in order.
Functions ¶
This section is empty.
Types ¶
type Season1 ¶
type Season1 uint
const ( Spring1 Season1 Summer1 Autumn1 Winter1 )
func AsSeason1 ¶
AsSeason1 parses a string to find the corresponding Season1, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason1 ¶
MustParseSeason1 is similar to AsSeason1 except that it panics on error.
func Season1Of ¶
Season1Of returns a Season1 based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season1 is returned.
func (Season1) Int ¶
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season1) Ordinal ¶
Ordinal returns the ordinal number of a Season1. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
type Season2 ¶
type Season2 uint
const ( Spring2 Season2 Summer2 Autumn2 Winter2 )
func AsSeason2 ¶
AsSeason2 parses a string to find the corresponding Season2, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason2 ¶
MustParseSeason2 is similar to AsSeason2 except that it panics on error.
func Season2Of ¶
Season2Of returns a Season2 based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season2 is returned.
func (Season2) Int ¶
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season2) Ordinal ¶
Ordinal returns the ordinal number of a Season2. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
type Season_Ic_Ji ¶
type Season_Ic_Ji uint
const (
Spring_Ic_Ji, Summer_Ic_Ji, Autumn_Ic_Ji, Winter_Ic_Ji Season_Ic_Ji = 1, 2, 3, 4
)
func AsSeason_Ic_Ji ¶
func AsSeason_Ic_Ji(s string) (Season_Ic_Ji, error)
AsSeason_Ic_Ji parses a string to find the corresponding Season_Ic_Ji, accepting either one of the string values or a number. It wraps Parse. The input case does not matter.
func MustParseSeason_Ic_Ji ¶
func MustParseSeason_Ic_Ji(s string) Season_Ic_Ji
MustParseSeason_Ic_Ji is similar to AsSeason_Ic_Ji except that it panics on error. The input case does not matter.
func Season_Ic_JiOf ¶
func Season_Ic_JiOf(v int) Season_Ic_Ji
Season_Ic_JiOf returns a Season_Ic_Ji based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Ic_Ji is returned.
func (Season_Ic_Ji) Int ¶
func (v Season_Ic_Ji) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Ic_Ji) IsValid ¶
func (v Season_Ic_Ji) IsValid() bool
IsValid determines whether a Season_Ic_Ji is one of the defined constants.
func (Season_Ic_Ji) JSON ¶
func (v Season_Ic_Ji) JSON() string
JSON returns an approximation to the representation used for transmission via JSON. However, strings are not quoted.
func (Season_Ic_Ji) MarshalJSON ¶
func (v Season_Ic_Ji) MarshalJSON() ([]byte, error)
MarshalJSON converts values to bytes suitable for transmission via JSON. The identifier representation is chosen according to -marshaljson.
func (Season_Ic_Ji) Ordinal ¶
func (v Season_Ic_Ji) Ordinal() int
Ordinal returns the ordinal number of a Season_Ic_Ji. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Ic_Ji) Parse ¶
func (v *Season_Ic_Ji) Parse(in string) error
Parse parses a string to find the corresponding Season_Ic_Ji, accepting one of the string values or a number. It is used by AsSeason_Ic_Ji. The input case does not matter.
Usage Example
v := new(Season_Ic_Ji) err := v.Parse(s) ... etc
func (Season_Ic_Ji) String ¶
func (v Season_Ic_Ji) String() string
String returns the literal string representation of a Season_Ic_Ji, which is the same as the const identifier but without prefix or suffix.
func (*Season_Ic_Ji) UnmarshalJSON ¶
func (v *Season_Ic_Ji) UnmarshalJSON(text []byte) error
UnmarshalJSON converts transmitted JSON values to ordinary values. It allows both ordinals and strings to represent the values.
type Season_Ic_Jj ¶
type Season_Ic_Jj uint
const ( Spring_Ic_Jj Season_Ic_Jj // json:"Sprg" Summer_Ic_Jj // json:"Sumr" Autumn_Ic_Jj // json:"Autm" Winter_Ic_Jj // json:"Wint" )
func AsSeason_Ic_Jj ¶
func AsSeason_Ic_Jj(s string) (Season_Ic_Jj, error)
AsSeason_Ic_Jj parses a string to find the corresponding Season_Ic_Jj, accepting either one of the string values or a number. It wraps Parse. The input case does not matter.
func MustParseSeason_Ic_Jj ¶
func MustParseSeason_Ic_Jj(s string) Season_Ic_Jj
MustParseSeason_Ic_Jj is similar to AsSeason_Ic_Jj except that it panics on error. The input case does not matter.
func Season_Ic_JjOf ¶
func Season_Ic_JjOf(v int) Season_Ic_Jj
Season_Ic_JjOf returns a Season_Ic_Jj based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Ic_Jj is returned.
func (Season_Ic_Jj) Int ¶
func (v Season_Ic_Jj) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Ic_Jj) IsValid ¶
func (v Season_Ic_Jj) IsValid() bool
IsValid determines whether a Season_Ic_Jj is one of the defined constants.
func (Season_Ic_Jj) JSON ¶
func (v Season_Ic_Jj) JSON() string
JSON returns an approximation to the representation used for transmission via JSON. However, strings are not quoted.
func (Season_Ic_Jj) MarshalJSON ¶
func (v Season_Ic_Jj) MarshalJSON() ([]byte, error)
MarshalJSON converts values to bytes suitable for transmission via JSON. The representation is chosen according to 'json' struct tags.
func (Season_Ic_Jj) Ordinal ¶
func (v Season_Ic_Jj) Ordinal() int
Ordinal returns the ordinal number of a Season_Ic_Jj. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Ic_Jj) Parse ¶
func (v *Season_Ic_Jj) Parse(in string) error
Parse parses a string to find the corresponding Season_Ic_Jj, accepting one of the string values or a number. It is used by AsSeason_Ic_Jj. The input case does not matter.
Usage Example
v := new(Season_Ic_Jj) err := v.Parse(s) ... etc
func (Season_Ic_Jj) String ¶
func (v Season_Ic_Jj) String() string
String returns the literal string representation of a Season_Ic_Jj, which is the same as the const identifier but without prefix or suffix.
func (*Season_Ic_Jj) UnmarshalJSON ¶
func (v *Season_Ic_Jj) UnmarshalJSON(text []byte) error
UnmarshalJSON converts transmitted JSON values to ordinary values. It allows both ordinals and strings to represent the values.
type Season_Ic_Jn ¶
type Season_Ic_Jn uint
const (
Spring_Ic_Jn, Summer_Ic_Jn, Autumn_Ic_Jn, Winter_Ic_Jn Season_Ic_Jn = 1, 2, 3, 4
)
func AsSeason_Ic_Jn ¶
func AsSeason_Ic_Jn(s string) (Season_Ic_Jn, error)
AsSeason_Ic_Jn parses a string to find the corresponding Season_Ic_Jn, accepting either one of the string values or a number. It wraps Parse. The input case does not matter.
func MustParseSeason_Ic_Jn ¶
func MustParseSeason_Ic_Jn(s string) Season_Ic_Jn
MustParseSeason_Ic_Jn is similar to AsSeason_Ic_Jn except that it panics on error. The input case does not matter.
func Season_Ic_JnOf ¶
func Season_Ic_JnOf(v int) Season_Ic_Jn
Season_Ic_JnOf returns a Season_Ic_Jn based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Ic_Jn is returned.
func (Season_Ic_Jn) Int ¶
func (v Season_Ic_Jn) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Ic_Jn) IsValid ¶
func (v Season_Ic_Jn) IsValid() bool
IsValid determines whether a Season_Ic_Jn is one of the defined constants.
func (Season_Ic_Jn) MarshalJSON ¶
func (v Season_Ic_Jn) MarshalJSON() ([]byte, error)
MarshalJSON converts values to bytes suitable for transmission via JSON. The number representation is chosen according to -marshaljson.
func (Season_Ic_Jn) Ordinal ¶
func (v Season_Ic_Jn) Ordinal() int
Ordinal returns the ordinal number of a Season_Ic_Jn. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Ic_Jn) Parse ¶
func (v *Season_Ic_Jn) Parse(in string) error
Parse parses a string to find the corresponding Season_Ic_Jn, accepting one of the string values or a number. It is used by AsSeason_Ic_Jn. The input case does not matter.
Usage Example
v := new(Season_Ic_Jn) err := v.Parse(s) ... etc
func (Season_Ic_Jn) String ¶
func (v Season_Ic_Jn) String() string
String returns the literal string representation of a Season_Ic_Jn, which is the same as the const identifier but without prefix or suffix.
func (*Season_Ic_Jn) UnmarshalJSON ¶
func (v *Season_Ic_Jn) UnmarshalJSON(text []byte) error
UnmarshalJSON converts transmitted JSON values to ordinary values. It allows both ordinals and strings to represent the values.
type Season_Ic_Si ¶
type Season_Ic_Si uint
const (
Spring_Ic_Si, Summer_Ic_Si, Autumn_Ic_Si, Winter_Ic_Si Season_Ic_Si = 1, 2, 3, 4
)
func AsSeason_Ic_Si ¶
func AsSeason_Ic_Si(s string) (Season_Ic_Si, error)
AsSeason_Ic_Si parses a string to find the corresponding Season_Ic_Si, accepting either one of the string values or a number. It wraps Parse. The input case does not matter.
func MustParseSeason_Ic_Si ¶
func MustParseSeason_Ic_Si(s string) Season_Ic_Si
MustParseSeason_Ic_Si is similar to AsSeason_Ic_Si except that it panics on error. The input case does not matter.
func Season_Ic_SiOf ¶
func Season_Ic_SiOf(v int) Season_Ic_Si
Season_Ic_SiOf returns a Season_Ic_Si based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Ic_Si is returned.
func (Season_Ic_Si) Int ¶
func (v Season_Ic_Si) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Ic_Si) IsValid ¶
func (v Season_Ic_Si) IsValid() bool
IsValid determines whether a Season_Ic_Si is one of the defined constants.
func (Season_Ic_Si) Ordinal ¶
func (v Season_Ic_Si) Ordinal() int
Ordinal returns the ordinal number of a Season_Ic_Si. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Ic_Si) Parse ¶
func (v *Season_Ic_Si) Parse(in string) error
Parse parses a string to find the corresponding Season_Ic_Si, accepting one of the string values or a number. It is used by AsSeason_Ic_Si. The input case does not matter.
Usage Example
v := new(Season_Ic_Si) err := v.Parse(s) ... etc
func (*Season_Ic_Si) Scan ¶
func (v *Season_Ic_Si) Scan(value interface{}) error
Scan parses some value, which can be a number, a string or []byte. It implements sql.Scanner, https://golang.org/pkg/database/sql/#Scanner
func (Season_Ic_Si) String ¶
func (v Season_Ic_Si) String() string
String returns the literal string representation of a Season_Ic_Si, which is the same as the const identifier but without prefix or suffix.
func (Season_Ic_Si) Value ¶
func (v Season_Ic_Si) Value() (driver.Value, error)
Value converts the Season_Ic_Si to a string (based on '-store identifier'). It implements driver.Valuer, https://golang.org/pkg/database/sql/driver/#Valuer
type Season_Ic_Sn ¶
type Season_Ic_Sn uint
const (
Spring_Ic_Sn, Summer_Ic_Sn, Autumn_Ic_Sn, Winter_Ic_Sn Season_Ic_Sn = 1, 2, 3, 4
)
func AsSeason_Ic_Sn ¶
func AsSeason_Ic_Sn(s string) (Season_Ic_Sn, error)
AsSeason_Ic_Sn parses a string to find the corresponding Season_Ic_Sn, accepting either one of the string values or a number. It wraps Parse. The input case does not matter.
func MustParseSeason_Ic_Sn ¶
func MustParseSeason_Ic_Sn(s string) Season_Ic_Sn
MustParseSeason_Ic_Sn is similar to AsSeason_Ic_Sn except that it panics on error. The input case does not matter.
func Season_Ic_SnOf ¶
func Season_Ic_SnOf(v int) Season_Ic_Sn
Season_Ic_SnOf returns a Season_Ic_Sn based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Ic_Sn is returned.
func (Season_Ic_Sn) Int ¶
func (v Season_Ic_Sn) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Ic_Sn) IsValid ¶
func (v Season_Ic_Sn) IsValid() bool
IsValid determines whether a Season_Ic_Sn is one of the defined constants.
func (Season_Ic_Sn) Ordinal ¶
func (v Season_Ic_Sn) Ordinal() int
Ordinal returns the ordinal number of a Season_Ic_Sn. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Ic_Sn) Parse ¶
func (v *Season_Ic_Sn) Parse(in string) error
Parse parses a string to find the corresponding Season_Ic_Sn, accepting one of the string values or a number. It is used by AsSeason_Ic_Sn. The input case does not matter.
Usage Example
v := new(Season_Ic_Sn) err := v.Parse(s) ... etc
func (*Season_Ic_Sn) Scan ¶
func (v *Season_Ic_Sn) Scan(value interface{}) error
Scan parses some value, which can be a number, a string or []byte. It implements sql.Scanner, https://golang.org/pkg/database/sql/#Scanner
func (Season_Ic_Sn) String ¶
func (v Season_Ic_Sn) String() string
String returns the literal string representation of a Season_Ic_Sn, which is the same as the const identifier but without prefix or suffix.
func (Season_Ic_Sn) Value ¶
func (v Season_Ic_Sn) Value() (driver.Value, error)
Value converts the Season_Ic_Sn to a number (based on '-store number'). It implements driver.Valuer, https://golang.org/pkg/database/sql/driver/#Valuer
type Season_Ic_Ss ¶
type Season_Ic_Ss uint
const ( Spring_Ic_Ss Season_Ic_Ss // sql:"Sprg" Summer_Ic_Ss // sql:"Sumr" Autumn_Ic_Ss // sql:"Autm" Winter_Ic_Ss // sql:"Wint" )
func AsSeason_Ic_Ss ¶
func AsSeason_Ic_Ss(s string) (Season_Ic_Ss, error)
AsSeason_Ic_Ss parses a string to find the corresponding Season_Ic_Ss, accepting either one of the string values or a number. It wraps Parse. The input case does not matter.
func MustParseSeason_Ic_Ss ¶
func MustParseSeason_Ic_Ss(s string) Season_Ic_Ss
MustParseSeason_Ic_Ss is similar to AsSeason_Ic_Ss except that it panics on error. The input case does not matter.
func Season_Ic_SsOf ¶
func Season_Ic_SsOf(v int) Season_Ic_Ss
Season_Ic_SsOf returns a Season_Ic_Ss based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Ic_Ss is returned.
func (Season_Ic_Ss) Int ¶
func (v Season_Ic_Ss) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Ic_Ss) IsValid ¶
func (v Season_Ic_Ss) IsValid() bool
IsValid determines whether a Season_Ic_Ss is one of the defined constants.
func (Season_Ic_Ss) Ordinal ¶
func (v Season_Ic_Ss) Ordinal() int
Ordinal returns the ordinal number of a Season_Ic_Ss. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Ic_Ss) Parse ¶
func (v *Season_Ic_Ss) Parse(in string) error
Parse parses a string to find the corresponding Season_Ic_Ss, accepting one of the string values or a number. It is used by AsSeason_Ic_Ss. The input case does not matter.
Usage Example
v := new(Season_Ic_Ss) err := v.Parse(s) ... etc
func (*Season_Ic_Ss) Scan ¶
func (v *Season_Ic_Ss) Scan(value interface{}) error
Scan parses some value, which can be a number, a string or []byte. It implements sql.Scanner, https://golang.org/pkg/database/sql/#Scanner
func (Season_Ic_Ss) String ¶
func (v Season_Ic_Ss) String() string
String returns the literal string representation of a Season_Ic_Ss, which is the same as the const identifier but without prefix or suffix.
func (Season_Ic_Ss) Value ¶
func (v Season_Ic_Ss) Value() (driver.Value, error)
Value converts the Season_Ic_Ss to a string. The representation is chosen according to 'sql' struct tags. It implements driver.Valuer, https://golang.org/pkg/database/sql/driver/#Valuer
type Season_Ic_Ta ¶
type Season_Ic_Ta uint
const ( Spring_Ic_Ta Season_Ic_Ta // all:"Sprg" Summer_Ic_Ta // all:"Sumr" Autumn_Ic_Ta // all:"Autm" Winter_Ic_Ta // all:"Wint" )
func AsSeason_Ic_Ta ¶
func AsSeason_Ic_Ta(s string) (Season_Ic_Ta, error)
AsSeason_Ic_Ta parses a string to find the corresponding Season_Ic_Ta, accepting either one of the string values or a number. It wraps Parse. The input case does not matter.
func MustParseSeason_Ic_Ta ¶
func MustParseSeason_Ic_Ta(s string) Season_Ic_Ta
MustParseSeason_Ic_Ta is similar to AsSeason_Ic_Ta except that it panics on error. The input case does not matter.
func Season_Ic_TaOf ¶
func Season_Ic_TaOf(v int) Season_Ic_Ta
Season_Ic_TaOf returns a Season_Ic_Ta based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Ic_Ta is returned.
func (Season_Ic_Ta) Int ¶
func (v Season_Ic_Ta) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Ic_Ta) IsValid ¶
func (v Season_Ic_Ta) IsValid() bool
IsValid determines whether a Season_Ic_Ta is one of the defined constants.
func (Season_Ic_Ta) JSON ¶
func (v Season_Ic_Ta) JSON() string
JSON returns an approximation to the representation used for transmission via JSON. However, strings are not quoted.
func (Season_Ic_Ta) MarshalJSON ¶
func (v Season_Ic_Ta) MarshalJSON() ([]byte, error)
MarshalJSON converts values to bytes suitable for transmission via JSON. The representation is chosen according to 'json' struct tags.
func (Season_Ic_Ta) MarshalText ¶
func (v Season_Ic_Ta) MarshalText() ([]byte, error)
MarshalText converts values to bytes suitable for transmission via XML, JSON etc.
func (Season_Ic_Ta) Ordinal ¶
func (v Season_Ic_Ta) Ordinal() int
Ordinal returns the ordinal number of a Season_Ic_Ta. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Ic_Ta) Parse ¶
func (v *Season_Ic_Ta) Parse(in string) error
Parse parses a string to find the corresponding Season_Ic_Ta, accepting one of the string values or a number. It is used by AsSeason_Ic_Ta. The input case does not matter.
Usage Example
v := new(Season_Ic_Ta) err := v.Parse(s) ... etc
func (*Season_Ic_Ta) Scan ¶
func (v *Season_Ic_Ta) Scan(value interface{}) error
Scan parses some value, which can be a number, a string or []byte. It implements sql.Scanner, https://golang.org/pkg/database/sql/#Scanner
func (Season_Ic_Ta) String ¶
func (v Season_Ic_Ta) String() string
String returns the literal string representation of a Season_Ic_Ta, which is the same as the const identifier but without prefix or suffix.
func (Season_Ic_Ta) Text ¶
func (v Season_Ic_Ta) Text() string
Text returns the representation used for transmission via XML, JSON etc.
func (*Season_Ic_Ta) UnmarshalJSON ¶
func (v *Season_Ic_Ta) UnmarshalJSON(text []byte) error
UnmarshalJSON converts transmitted JSON values to ordinary values. It allows both ordinals and strings to represent the values.
func (*Season_Ic_Ta) UnmarshalText ¶
func (v *Season_Ic_Ta) UnmarshalText(bs []byte) error
UnmarshalText converts transmitted values to ordinary values.
func (Season_Ic_Ta) Value ¶
func (v Season_Ic_Ta) Value() (driver.Value, error)
Value converts the Season_Ic_Ta to a string. The representation is chosen according to 'sql' struct tags. It implements driver.Valuer, https://golang.org/pkg/database/sql/driver/#Valuer
type Season_Ic_Ti ¶
type Season_Ic_Ti uint
const (
Spring_Ic_Ti, Summer_Ic_Ti, Autumn_Ic_Ti, Winter_Ic_Ti Season_Ic_Ti = 1, 2, 3, 4
)
func AsSeason_Ic_Ti ¶
func AsSeason_Ic_Ti(s string) (Season_Ic_Ti, error)
AsSeason_Ic_Ti parses a string to find the corresponding Season_Ic_Ti, accepting either one of the string values or a number. The input representation is determined by season_ic_tiMarshalTextRep. It wraps Parse. The input case does not matter.
func MustParseSeason_Ic_Ti ¶
func MustParseSeason_Ic_Ti(s string) Season_Ic_Ti
MustParseSeason_Ic_Ti is similar to AsSeason_Ic_Ti except that it panics on error. The input case does not matter.
func Season_Ic_TiOf ¶
func Season_Ic_TiOf(v int) Season_Ic_Ti
Season_Ic_TiOf returns a Season_Ic_Ti based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Ic_Ti is returned.
func (Season_Ic_Ti) Int ¶
func (v Season_Ic_Ti) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Ic_Ti) IsValid ¶
func (v Season_Ic_Ti) IsValid() bool
IsValid determines whether a Season_Ic_Ti is one of the defined constants.
func (Season_Ic_Ti) MarshalText ¶
func (v Season_Ic_Ti) MarshalText() ([]byte, error)
MarshalText converts values to bytes suitable for transmission via XML, JSON etc.
func (Season_Ic_Ti) Ordinal ¶
func (v Season_Ic_Ti) Ordinal() int
Ordinal returns the ordinal number of a Season_Ic_Ti. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Ic_Ti) Parse ¶
func (v *Season_Ic_Ti) Parse(in string) error
Parse parses a string to find the corresponding Season_Ic_Ti, accepting one of the string values or a number. The input representation is determined by Identifier. It is used by AsSeason_Ic_Ti. The input case does not matter.
Usage Example
v := new(Season_Ic_Ti) err := v.Parse(s) ... etc
func (Season_Ic_Ti) String ¶
func (v Season_Ic_Ti) String() string
String returns the literal string representation of a Season_Ic_Ti, which is the same as the const identifier but without prefix or suffix.
func (Season_Ic_Ti) Text ¶
func (v Season_Ic_Ti) Text() string
Text returns the representation used for transmission via XML, JSON etc.
func (*Season_Ic_Ti) UnmarshalText ¶
func (v *Season_Ic_Ti) UnmarshalText(bs []byte) error
UnmarshalText converts transmitted values to ordinary values.
type Season_Ic_Tn ¶
type Season_Ic_Tn uint
const (
Spring_Ic_Tn, Summer_Ic_Tn, Autumn_Ic_Tn, Winter_Ic_Tn Season_Ic_Tn = 1, 2, 3, 4
)
func AsSeason_Ic_Tn ¶
func AsSeason_Ic_Tn(s string) (Season_Ic_Tn, error)
AsSeason_Ic_Tn parses a string to find the corresponding Season_Ic_Tn, accepting either one of the string values or a number. The input representation is determined by season_ic_tnMarshalTextRep. It wraps Parse. The input case does not matter.
func MustParseSeason_Ic_Tn ¶
func MustParseSeason_Ic_Tn(s string) Season_Ic_Tn
MustParseSeason_Ic_Tn is similar to AsSeason_Ic_Tn except that it panics on error. The input case does not matter.
func Season_Ic_TnOf ¶
func Season_Ic_TnOf(v int) Season_Ic_Tn
Season_Ic_TnOf returns a Season_Ic_Tn based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Ic_Tn is returned.
func (Season_Ic_Tn) Int ¶
func (v Season_Ic_Tn) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Ic_Tn) IsValid ¶
func (v Season_Ic_Tn) IsValid() bool
IsValid determines whether a Season_Ic_Tn is one of the defined constants.
func (Season_Ic_Tn) MarshalText ¶
func (v Season_Ic_Tn) MarshalText() ([]byte, error)
MarshalText converts values to bytes suitable for transmission via XML, JSON etc.
func (Season_Ic_Tn) Ordinal ¶
func (v Season_Ic_Tn) Ordinal() int
Ordinal returns the ordinal number of a Season_Ic_Tn. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Ic_Tn) Parse ¶
func (v *Season_Ic_Tn) Parse(in string) error
Parse parses a string to find the corresponding Season_Ic_Tn, accepting one of the string values or a number. The input representation is determined by Number. It is used by AsSeason_Ic_Tn. The input case does not matter.
Usage Example
v := new(Season_Ic_Tn) err := v.Parse(s) ... etc
func (Season_Ic_Tn) String ¶
func (v Season_Ic_Tn) String() string
String returns the literal string representation of a Season_Ic_Tn, which is the same as the const identifier but without prefix or suffix.
func (*Season_Ic_Tn) UnmarshalText ¶
func (v *Season_Ic_Tn) UnmarshalText(bs []byte) error
UnmarshalText converts transmitted values to ordinary values.
type Season_Ic_Tt ¶
type Season_Ic_Tt uint
const ( Spring_Ic_Tt Season_Ic_Tt // text:"Sprg" Summer_Ic_Tt // text:"Sumr" Autumn_Ic_Tt // text:"Autm" Winter_Ic_Tt // text:"Wint" )
func AsSeason_Ic_Tt ¶
func AsSeason_Ic_Tt(s string) (Season_Ic_Tt, error)
AsSeason_Ic_Tt parses a string to find the corresponding Season_Ic_Tt, accepting either one of the string values or a number. It wraps Parse. The input case does not matter.
func MustParseSeason_Ic_Tt ¶
func MustParseSeason_Ic_Tt(s string) Season_Ic_Tt
MustParseSeason_Ic_Tt is similar to AsSeason_Ic_Tt except that it panics on error. The input case does not matter.
func Season_Ic_TtOf ¶
func Season_Ic_TtOf(v int) Season_Ic_Tt
Season_Ic_TtOf returns a Season_Ic_Tt based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Ic_Tt is returned.
func (Season_Ic_Tt) Int ¶
func (v Season_Ic_Tt) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Ic_Tt) IsValid ¶
func (v Season_Ic_Tt) IsValid() bool
IsValid determines whether a Season_Ic_Tt is one of the defined constants.
func (Season_Ic_Tt) MarshalText ¶
func (v Season_Ic_Tt) MarshalText() ([]byte, error)
MarshalText converts values to bytes suitable for transmission via XML, JSON etc.
func (Season_Ic_Tt) Ordinal ¶
func (v Season_Ic_Tt) Ordinal() int
Ordinal returns the ordinal number of a Season_Ic_Tt. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Ic_Tt) Parse ¶
func (v *Season_Ic_Tt) Parse(in string) error
Parse parses a string to find the corresponding Season_Ic_Tt, accepting one of the string values or a number. It is used by AsSeason_Ic_Tt. The input case does not matter.
Usage Example
v := new(Season_Ic_Tt) err := v.Parse(s) ... etc
func (Season_Ic_Tt) String ¶
func (v Season_Ic_Tt) String() string
String returns the literal string representation of a Season_Ic_Tt, which is the same as the const identifier but without prefix or suffix.
func (Season_Ic_Tt) Text ¶
func (v Season_Ic_Tt) Text() string
Text returns the representation used for transmission via XML, JSON etc.
func (*Season_Ic_Tt) UnmarshalText ¶
func (v *Season_Ic_Tt) UnmarshalText(bs []byte) error
UnmarshalText converts transmitted values to ordinary values.
type Season_Nc_Ji ¶
type Season_Nc_Ji uint
const (
Spring_Nc_Ji, Summer_Nc_Ji, Autumn_Nc_Ji, Winter_Nc_Ji Season_Nc_Ji = 1, 2, 3, 4
)
func AsSeason_Nc_Ji ¶
func AsSeason_Nc_Ji(s string) (Season_Nc_Ji, error)
AsSeason_Nc_Ji parses a string to find the corresponding Season_Nc_Ji, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason_Nc_Ji ¶
func MustParseSeason_Nc_Ji(s string) Season_Nc_Ji
MustParseSeason_Nc_Ji is similar to AsSeason_Nc_Ji except that it panics on error.
func Season_Nc_JiOf ¶
func Season_Nc_JiOf(v int) Season_Nc_Ji
Season_Nc_JiOf returns a Season_Nc_Ji based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Nc_Ji is returned.
func (Season_Nc_Ji) Int ¶
func (v Season_Nc_Ji) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Nc_Ji) IsValid ¶
func (v Season_Nc_Ji) IsValid() bool
IsValid determines whether a Season_Nc_Ji is one of the defined constants.
func (Season_Nc_Ji) JSON ¶
func (v Season_Nc_Ji) JSON() string
JSON returns an approximation to the representation used for transmission via JSON. However, strings are not quoted.
func (Season_Nc_Ji) MarshalJSON ¶
func (v Season_Nc_Ji) MarshalJSON() ([]byte, error)
MarshalJSON converts values to bytes suitable for transmission via JSON. The identifier representation is chosen according to -marshaljson.
func (Season_Nc_Ji) Ordinal ¶
func (v Season_Nc_Ji) Ordinal() int
Ordinal returns the ordinal number of a Season_Nc_Ji. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Nc_Ji) Parse ¶
func (v *Season_Nc_Ji) Parse(in string) error
Parse parses a string to find the corresponding Season_Nc_Ji, accepting one of the string values or a number. It is used by AsSeason_Nc_Ji.
Usage Example
v := new(Season_Nc_Ji) err := v.Parse(s) ... etc
func (Season_Nc_Ji) String ¶
func (v Season_Nc_Ji) String() string
String returns the literal string representation of a Season_Nc_Ji, which is the same as the const identifier but without prefix or suffix.
func (*Season_Nc_Ji) UnmarshalJSON ¶
func (v *Season_Nc_Ji) UnmarshalJSON(text []byte) error
UnmarshalJSON converts transmitted JSON values to ordinary values. It allows both ordinals and strings to represent the values.
type Season_Nc_Jj ¶
type Season_Nc_Jj uint
const ( Spring_Nc_Jj Season_Nc_Jj // json:"Sprg" Summer_Nc_Jj // json:"Sumr" Autumn_Nc_Jj // json:"Autm" Winter_Nc_Jj // json:"Wint" )
func AsSeason_Nc_Jj ¶
func AsSeason_Nc_Jj(s string) (Season_Nc_Jj, error)
AsSeason_Nc_Jj parses a string to find the corresponding Season_Nc_Jj, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason_Nc_Jj ¶
func MustParseSeason_Nc_Jj(s string) Season_Nc_Jj
MustParseSeason_Nc_Jj is similar to AsSeason_Nc_Jj except that it panics on error.
func Season_Nc_JjOf ¶
func Season_Nc_JjOf(v int) Season_Nc_Jj
Season_Nc_JjOf returns a Season_Nc_Jj based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Nc_Jj is returned.
func (Season_Nc_Jj) Int ¶
func (v Season_Nc_Jj) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Nc_Jj) IsValid ¶
func (v Season_Nc_Jj) IsValid() bool
IsValid determines whether a Season_Nc_Jj is one of the defined constants.
func (Season_Nc_Jj) JSON ¶
func (v Season_Nc_Jj) JSON() string
JSON returns an approximation to the representation used for transmission via JSON. However, strings are not quoted.
func (Season_Nc_Jj) MarshalJSON ¶
func (v Season_Nc_Jj) MarshalJSON() ([]byte, error)
MarshalJSON converts values to bytes suitable for transmission via JSON. The representation is chosen according to 'json' struct tags.
func (Season_Nc_Jj) Ordinal ¶
func (v Season_Nc_Jj) Ordinal() int
Ordinal returns the ordinal number of a Season_Nc_Jj. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Nc_Jj) Parse ¶
func (v *Season_Nc_Jj) Parse(in string) error
Parse parses a string to find the corresponding Season_Nc_Jj, accepting one of the string values or a number. It is used by AsSeason_Nc_Jj.
Usage Example
v := new(Season_Nc_Jj) err := v.Parse(s) ... etc
func (Season_Nc_Jj) String ¶
func (v Season_Nc_Jj) String() string
String returns the literal string representation of a Season_Nc_Jj, which is the same as the const identifier but without prefix or suffix.
func (*Season_Nc_Jj) UnmarshalJSON ¶
func (v *Season_Nc_Jj) UnmarshalJSON(text []byte) error
UnmarshalJSON converts transmitted JSON values to ordinary values. It allows both ordinals and strings to represent the values.
type Season_Nc_Jn ¶
type Season_Nc_Jn uint
const (
Spring_Nc_Jn, Summer_Nc_Jn, Autumn_Nc_Jn, Winter_Nc_Jn Season_Nc_Jn = 1, 2, 3, 4
)
func AsSeason_Nc_Jn ¶
func AsSeason_Nc_Jn(s string) (Season_Nc_Jn, error)
AsSeason_Nc_Jn parses a string to find the corresponding Season_Nc_Jn, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason_Nc_Jn ¶
func MustParseSeason_Nc_Jn(s string) Season_Nc_Jn
MustParseSeason_Nc_Jn is similar to AsSeason_Nc_Jn except that it panics on error.
func Season_Nc_JnOf ¶
func Season_Nc_JnOf(v int) Season_Nc_Jn
Season_Nc_JnOf returns a Season_Nc_Jn based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Nc_Jn is returned.
func (Season_Nc_Jn) Int ¶
func (v Season_Nc_Jn) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Nc_Jn) IsValid ¶
func (v Season_Nc_Jn) IsValid() bool
IsValid determines whether a Season_Nc_Jn is one of the defined constants.
func (Season_Nc_Jn) MarshalJSON ¶
func (v Season_Nc_Jn) MarshalJSON() ([]byte, error)
MarshalJSON converts values to bytes suitable for transmission via JSON. The number representation is chosen according to -marshaljson.
func (Season_Nc_Jn) Ordinal ¶
func (v Season_Nc_Jn) Ordinal() int
Ordinal returns the ordinal number of a Season_Nc_Jn. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Nc_Jn) Parse ¶
func (v *Season_Nc_Jn) Parse(in string) error
Parse parses a string to find the corresponding Season_Nc_Jn, accepting one of the string values or a number. It is used by AsSeason_Nc_Jn.
Usage Example
v := new(Season_Nc_Jn) err := v.Parse(s) ... etc
func (Season_Nc_Jn) String ¶
func (v Season_Nc_Jn) String() string
String returns the literal string representation of a Season_Nc_Jn, which is the same as the const identifier but without prefix or suffix.
func (*Season_Nc_Jn) UnmarshalJSON ¶
func (v *Season_Nc_Jn) UnmarshalJSON(text []byte) error
UnmarshalJSON converts transmitted JSON values to ordinary values. It allows both ordinals and strings to represent the values.
type Season_Nc_Si ¶
type Season_Nc_Si uint
const (
Spring_Nc_Si, Summer_Nc_Si, Autumn_Nc_Si, Winter_Nc_Si Season_Nc_Si = 1, 2, 3, 4
)
func AsSeason_Nc_Si ¶
func AsSeason_Nc_Si(s string) (Season_Nc_Si, error)
AsSeason_Nc_Si parses a string to find the corresponding Season_Nc_Si, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason_Nc_Si ¶
func MustParseSeason_Nc_Si(s string) Season_Nc_Si
MustParseSeason_Nc_Si is similar to AsSeason_Nc_Si except that it panics on error.
func Season_Nc_SiOf ¶
func Season_Nc_SiOf(v int) Season_Nc_Si
Season_Nc_SiOf returns a Season_Nc_Si based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Nc_Si is returned.
func (Season_Nc_Si) Int ¶
func (v Season_Nc_Si) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Nc_Si) IsValid ¶
func (v Season_Nc_Si) IsValid() bool
IsValid determines whether a Season_Nc_Si is one of the defined constants.
func (Season_Nc_Si) Ordinal ¶
func (v Season_Nc_Si) Ordinal() int
Ordinal returns the ordinal number of a Season_Nc_Si. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Nc_Si) Parse ¶
func (v *Season_Nc_Si) Parse(in string) error
Parse parses a string to find the corresponding Season_Nc_Si, accepting one of the string values or a number. It is used by AsSeason_Nc_Si.
Usage Example
v := new(Season_Nc_Si) err := v.Parse(s) ... etc
func (*Season_Nc_Si) Scan ¶
func (v *Season_Nc_Si) Scan(value interface{}) error
Scan parses some value, which can be a number, a string or []byte. It implements sql.Scanner, https://golang.org/pkg/database/sql/#Scanner
func (Season_Nc_Si) String ¶
func (v Season_Nc_Si) String() string
String returns the literal string representation of a Season_Nc_Si, which is the same as the const identifier but without prefix or suffix.
func (Season_Nc_Si) Value ¶
func (v Season_Nc_Si) Value() (driver.Value, error)
Value converts the Season_Nc_Si to a string (based on '-store identifier'). It implements driver.Valuer, https://golang.org/pkg/database/sql/driver/#Valuer
type Season_Nc_Sn ¶
type Season_Nc_Sn uint
const (
Spring_Nc_Sn, Summer_Nc_Sn, Autumn_Nc_Sn, Winter_Nc_Sn Season_Nc_Sn = 1, 2, 3, 4
)
func AsSeason_Nc_Sn ¶
func AsSeason_Nc_Sn(s string) (Season_Nc_Sn, error)
AsSeason_Nc_Sn parses a string to find the corresponding Season_Nc_Sn, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason_Nc_Sn ¶
func MustParseSeason_Nc_Sn(s string) Season_Nc_Sn
MustParseSeason_Nc_Sn is similar to AsSeason_Nc_Sn except that it panics on error.
func Season_Nc_SnOf ¶
func Season_Nc_SnOf(v int) Season_Nc_Sn
Season_Nc_SnOf returns a Season_Nc_Sn based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Nc_Sn is returned.
func (Season_Nc_Sn) Int ¶
func (v Season_Nc_Sn) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Nc_Sn) IsValid ¶
func (v Season_Nc_Sn) IsValid() bool
IsValid determines whether a Season_Nc_Sn is one of the defined constants.
func (Season_Nc_Sn) Ordinal ¶
func (v Season_Nc_Sn) Ordinal() int
Ordinal returns the ordinal number of a Season_Nc_Sn. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Nc_Sn) Parse ¶
func (v *Season_Nc_Sn) Parse(in string) error
Parse parses a string to find the corresponding Season_Nc_Sn, accepting one of the string values or a number. It is used by AsSeason_Nc_Sn.
Usage Example
v := new(Season_Nc_Sn) err := v.Parse(s) ... etc
func (*Season_Nc_Sn) Scan ¶
func (v *Season_Nc_Sn) Scan(value interface{}) error
Scan parses some value, which can be a number, a string or []byte. It implements sql.Scanner, https://golang.org/pkg/database/sql/#Scanner
func (Season_Nc_Sn) String ¶
func (v Season_Nc_Sn) String() string
String returns the literal string representation of a Season_Nc_Sn, which is the same as the const identifier but without prefix or suffix.
func (Season_Nc_Sn) Value ¶
func (v Season_Nc_Sn) Value() (driver.Value, error)
Value converts the Season_Nc_Sn to a number (based on '-store number'). It implements driver.Valuer, https://golang.org/pkg/database/sql/driver/#Valuer
type Season_Nc_Ss ¶
type Season_Nc_Ss uint
const ( Spring_Nc_Ss Season_Nc_Ss // sql:"Sprg" Summer_Nc_Ss // sql:"Sumr" Autumn_Nc_Ss // sql:"Autm" Winter_Nc_Ss // sql:"Wint" )
func AsSeason_Nc_Ss ¶
func AsSeason_Nc_Ss(s string) (Season_Nc_Ss, error)
AsSeason_Nc_Ss parses a string to find the corresponding Season_Nc_Ss, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason_Nc_Ss ¶
func MustParseSeason_Nc_Ss(s string) Season_Nc_Ss
MustParseSeason_Nc_Ss is similar to AsSeason_Nc_Ss except that it panics on error.
func Season_Nc_SsOf ¶
func Season_Nc_SsOf(v int) Season_Nc_Ss
Season_Nc_SsOf returns a Season_Nc_Ss based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Nc_Ss is returned.
func (Season_Nc_Ss) Int ¶
func (v Season_Nc_Ss) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Nc_Ss) IsValid ¶
func (v Season_Nc_Ss) IsValid() bool
IsValid determines whether a Season_Nc_Ss is one of the defined constants.
func (Season_Nc_Ss) Ordinal ¶
func (v Season_Nc_Ss) Ordinal() int
Ordinal returns the ordinal number of a Season_Nc_Ss. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Nc_Ss) Parse ¶
func (v *Season_Nc_Ss) Parse(in string) error
Parse parses a string to find the corresponding Season_Nc_Ss, accepting one of the string values or a number. It is used by AsSeason_Nc_Ss.
Usage Example
v := new(Season_Nc_Ss) err := v.Parse(s) ... etc
func (*Season_Nc_Ss) Scan ¶
func (v *Season_Nc_Ss) Scan(value interface{}) error
Scan parses some value, which can be a number, a string or []byte. It implements sql.Scanner, https://golang.org/pkg/database/sql/#Scanner
func (Season_Nc_Ss) String ¶
func (v Season_Nc_Ss) String() string
String returns the literal string representation of a Season_Nc_Ss, which is the same as the const identifier but without prefix or suffix.
func (Season_Nc_Ss) Value ¶
func (v Season_Nc_Ss) Value() (driver.Value, error)
Value converts the Season_Nc_Ss to a string. The representation is chosen according to 'sql' struct tags. It implements driver.Valuer, https://golang.org/pkg/database/sql/driver/#Valuer
type Season_Nc_Ta ¶
type Season_Nc_Ta uint
const ( Spring_Nc_Ta Season_Nc_Ta // all:"Sprg" Summer_Nc_Ta // all:"Sumr" Autumn_Nc_Ta // all:"Autm" Winter_Nc_Ta // all:"Wint" )
func AsSeason_Nc_Ta ¶
func AsSeason_Nc_Ta(s string) (Season_Nc_Ta, error)
AsSeason_Nc_Ta parses a string to find the corresponding Season_Nc_Ta, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason_Nc_Ta ¶
func MustParseSeason_Nc_Ta(s string) Season_Nc_Ta
MustParseSeason_Nc_Ta is similar to AsSeason_Nc_Ta except that it panics on error.
func Season_Nc_TaOf ¶
func Season_Nc_TaOf(v int) Season_Nc_Ta
Season_Nc_TaOf returns a Season_Nc_Ta based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Nc_Ta is returned.
func (Season_Nc_Ta) Int ¶
func (v Season_Nc_Ta) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Nc_Ta) IsValid ¶
func (v Season_Nc_Ta) IsValid() bool
IsValid determines whether a Season_Nc_Ta is one of the defined constants.
func (Season_Nc_Ta) JSON ¶
func (v Season_Nc_Ta) JSON() string
JSON returns an approximation to the representation used for transmission via JSON. However, strings are not quoted.
func (Season_Nc_Ta) MarshalJSON ¶
func (v Season_Nc_Ta) MarshalJSON() ([]byte, error)
MarshalJSON converts values to bytes suitable for transmission via JSON. The representation is chosen according to 'json' struct tags.
func (Season_Nc_Ta) MarshalText ¶
func (v Season_Nc_Ta) MarshalText() ([]byte, error)
MarshalText converts values to bytes suitable for transmission via XML, JSON etc.
func (Season_Nc_Ta) Ordinal ¶
func (v Season_Nc_Ta) Ordinal() int
Ordinal returns the ordinal number of a Season_Nc_Ta. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Nc_Ta) Parse ¶
func (v *Season_Nc_Ta) Parse(in string) error
Parse parses a string to find the corresponding Season_Nc_Ta, accepting one of the string values or a number. It is used by AsSeason_Nc_Ta.
Usage Example
v := new(Season_Nc_Ta) err := v.Parse(s) ... etc
func (*Season_Nc_Ta) Scan ¶
func (v *Season_Nc_Ta) Scan(value interface{}) error
Scan parses some value, which can be a number, a string or []byte. It implements sql.Scanner, https://golang.org/pkg/database/sql/#Scanner
func (Season_Nc_Ta) String ¶
func (v Season_Nc_Ta) String() string
String returns the literal string representation of a Season_Nc_Ta, which is the same as the const identifier but without prefix or suffix.
func (Season_Nc_Ta) Text ¶
func (v Season_Nc_Ta) Text() string
Text returns the representation used for transmission via XML, JSON etc.
func (*Season_Nc_Ta) UnmarshalJSON ¶
func (v *Season_Nc_Ta) UnmarshalJSON(text []byte) error
UnmarshalJSON converts transmitted JSON values to ordinary values. It allows both ordinals and strings to represent the values.
func (*Season_Nc_Ta) UnmarshalText ¶
func (v *Season_Nc_Ta) UnmarshalText(bs []byte) error
UnmarshalText converts transmitted values to ordinary values.
func (Season_Nc_Ta) Value ¶
func (v Season_Nc_Ta) Value() (driver.Value, error)
Value converts the Season_Nc_Ta to a string. The representation is chosen according to 'sql' struct tags. It implements driver.Valuer, https://golang.org/pkg/database/sql/driver/#Valuer
type Season_Nc_Ti ¶
type Season_Nc_Ti uint
const (
Spring_Nc_Ti, Summer_Nc_Ti, Autumn_Nc_Ti, Winter_Nc_Ti Season_Nc_Ti = 1, 2, 3, 4
)
func AsSeason_Nc_Ti ¶
func AsSeason_Nc_Ti(s string) (Season_Nc_Ti, error)
AsSeason_Nc_Ti parses a string to find the corresponding Season_Nc_Ti, accepting either one of the string values or a number. The input representation is determined by season_nc_tiMarshalTextRep. It wraps Parse.
func MustParseSeason_Nc_Ti ¶
func MustParseSeason_Nc_Ti(s string) Season_Nc_Ti
MustParseSeason_Nc_Ti is similar to AsSeason_Nc_Ti except that it panics on error.
func Season_Nc_TiOf ¶
func Season_Nc_TiOf(v int) Season_Nc_Ti
Season_Nc_TiOf returns a Season_Nc_Ti based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Nc_Ti is returned.
func (Season_Nc_Ti) Int ¶
func (v Season_Nc_Ti) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Nc_Ti) IsValid ¶
func (v Season_Nc_Ti) IsValid() bool
IsValid determines whether a Season_Nc_Ti is one of the defined constants.
func (Season_Nc_Ti) MarshalText ¶
func (v Season_Nc_Ti) MarshalText() ([]byte, error)
MarshalText converts values to bytes suitable for transmission via XML, JSON etc.
func (Season_Nc_Ti) Ordinal ¶
func (v Season_Nc_Ti) Ordinal() int
Ordinal returns the ordinal number of a Season_Nc_Ti. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Nc_Ti) Parse ¶
func (v *Season_Nc_Ti) Parse(in string) error
Parse parses a string to find the corresponding Season_Nc_Ti, accepting one of the string values or a number. The input representation is determined by Identifier. It is used by AsSeason_Nc_Ti.
Usage Example
v := new(Season_Nc_Ti) err := v.Parse(s) ... etc
func (Season_Nc_Ti) String ¶
func (v Season_Nc_Ti) String() string
String returns the literal string representation of a Season_Nc_Ti, which is the same as the const identifier but without prefix or suffix.
func (Season_Nc_Ti) Text ¶
func (v Season_Nc_Ti) Text() string
Text returns the representation used for transmission via XML, JSON etc.
func (*Season_Nc_Ti) UnmarshalText ¶
func (v *Season_Nc_Ti) UnmarshalText(bs []byte) error
UnmarshalText converts transmitted values to ordinary values.
type Season_Nc_Tn ¶
type Season_Nc_Tn uint
const (
Spring_Nc_Tn, Summer_Nc_Tn, Autumn_Nc_Tn, Winter_Nc_Tn Season_Nc_Tn = 1, 2, 3, 4
)
func AsSeason_Nc_Tn ¶
func AsSeason_Nc_Tn(s string) (Season_Nc_Tn, error)
AsSeason_Nc_Tn parses a string to find the corresponding Season_Nc_Tn, accepting either one of the string values or a number. The input representation is determined by season_nc_tnMarshalTextRep. It wraps Parse.
func MustParseSeason_Nc_Tn ¶
func MustParseSeason_Nc_Tn(s string) Season_Nc_Tn
MustParseSeason_Nc_Tn is similar to AsSeason_Nc_Tn except that it panics on error.
func Season_Nc_TnOf ¶
func Season_Nc_TnOf(v int) Season_Nc_Tn
Season_Nc_TnOf returns a Season_Nc_Tn based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Nc_Tn is returned.
func (Season_Nc_Tn) Int ¶
func (v Season_Nc_Tn) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Nc_Tn) IsValid ¶
func (v Season_Nc_Tn) IsValid() bool
IsValid determines whether a Season_Nc_Tn is one of the defined constants.
func (Season_Nc_Tn) MarshalText ¶
func (v Season_Nc_Tn) MarshalText() ([]byte, error)
MarshalText converts values to bytes suitable for transmission via XML, JSON etc.
func (Season_Nc_Tn) Ordinal ¶
func (v Season_Nc_Tn) Ordinal() int
Ordinal returns the ordinal number of a Season_Nc_Tn. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Nc_Tn) Parse ¶
func (v *Season_Nc_Tn) Parse(in string) error
Parse parses a string to find the corresponding Season_Nc_Tn, accepting one of the string values or a number. The input representation is determined by Number. It is used by AsSeason_Nc_Tn.
Usage Example
v := new(Season_Nc_Tn) err := v.Parse(s) ... etc
func (Season_Nc_Tn) String ¶
func (v Season_Nc_Tn) String() string
String returns the literal string representation of a Season_Nc_Tn, which is the same as the const identifier but without prefix or suffix.
func (*Season_Nc_Tn) UnmarshalText ¶
func (v *Season_Nc_Tn) UnmarshalText(bs []byte) error
UnmarshalText converts transmitted values to ordinary values.
type Season_Nc_Tt ¶
type Season_Nc_Tt uint
const ( Spring_Nc_Tt Season_Nc_Tt // text:"Sprg" Summer_Nc_Tt // text:"Sumr" Autumn_Nc_Tt // text:"Autm" Winter_Nc_Tt // text:"Wint" )
func AsSeason_Nc_Tt ¶
func AsSeason_Nc_Tt(s string) (Season_Nc_Tt, error)
AsSeason_Nc_Tt parses a string to find the corresponding Season_Nc_Tt, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason_Nc_Tt ¶
func MustParseSeason_Nc_Tt(s string) Season_Nc_Tt
MustParseSeason_Nc_Tt is similar to AsSeason_Nc_Tt except that it panics on error.
func Season_Nc_TtOf ¶
func Season_Nc_TtOf(v int) Season_Nc_Tt
Season_Nc_TtOf returns a Season_Nc_Tt based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Nc_Tt is returned.
func (Season_Nc_Tt) Int ¶
func (v Season_Nc_Tt) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Nc_Tt) IsValid ¶
func (v Season_Nc_Tt) IsValid() bool
IsValid determines whether a Season_Nc_Tt is one of the defined constants.
func (Season_Nc_Tt) MarshalText ¶
func (v Season_Nc_Tt) MarshalText() ([]byte, error)
MarshalText converts values to bytes suitable for transmission via XML, JSON etc.
func (Season_Nc_Tt) Ordinal ¶
func (v Season_Nc_Tt) Ordinal() int
Ordinal returns the ordinal number of a Season_Nc_Tt. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Nc_Tt) Parse ¶
func (v *Season_Nc_Tt) Parse(in string) error
Parse parses a string to find the corresponding Season_Nc_Tt, accepting one of the string values or a number. It is used by AsSeason_Nc_Tt.
Usage Example
v := new(Season_Nc_Tt) err := v.Parse(s) ... etc
func (Season_Nc_Tt) String ¶
func (v Season_Nc_Tt) String() string
String returns the literal string representation of a Season_Nc_Tt, which is the same as the const identifier but without prefix or suffix.
func (Season_Nc_Tt) Text ¶
func (v Season_Nc_Tt) Text() string
Text returns the representation used for transmission via XML, JSON etc.
func (*Season_Nc_Tt) UnmarshalText ¶
func (v *Season_Nc_Tt) UnmarshalText(bs []byte) error
UnmarshalText converts transmitted values to ordinary values.
type Season_Uc_Ji ¶
type Season_Uc_Ji uint
const (
Spring_Uc_Ji, Summer_Uc_Ji, Autumn_Uc_Ji, Winter_Uc_Ji Season_Uc_Ji = 1, 2, 3, 4
)
func AsSeason_Uc_Ji ¶
func AsSeason_Uc_Ji(s string) (Season_Uc_Ji, error)
AsSeason_Uc_Ji parses a string to find the corresponding Season_Uc_Ji, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason_Uc_Ji ¶
func MustParseSeason_Uc_Ji(s string) Season_Uc_Ji
MustParseSeason_Uc_Ji is similar to AsSeason_Uc_Ji except that it panics on error.
func Season_Uc_JiOf ¶
func Season_Uc_JiOf(v int) Season_Uc_Ji
Season_Uc_JiOf returns a Season_Uc_Ji based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Uc_Ji is returned.
func (Season_Uc_Ji) Int ¶
func (v Season_Uc_Ji) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Uc_Ji) IsValid ¶
func (v Season_Uc_Ji) IsValid() bool
IsValid determines whether a Season_Uc_Ji is one of the defined constants.
func (Season_Uc_Ji) JSON ¶
func (v Season_Uc_Ji) JSON() string
JSON returns an approximation to the representation used for transmission via JSON. However, strings are not quoted.
func (Season_Uc_Ji) MarshalJSON ¶
func (v Season_Uc_Ji) MarshalJSON() ([]byte, error)
MarshalJSON converts values to bytes suitable for transmission via JSON. The identifier representation is chosen according to -marshaljson.
func (Season_Uc_Ji) Ordinal ¶
func (v Season_Uc_Ji) Ordinal() int
Ordinal returns the ordinal number of a Season_Uc_Ji. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Uc_Ji) Parse ¶
func (v *Season_Uc_Ji) Parse(in string) error
Parse parses a string to find the corresponding Season_Uc_Ji, accepting one of the string values or a number. It is used by AsSeason_Uc_Ji.
Usage Example
v := new(Season_Uc_Ji) err := v.Parse(s) ... etc
func (Season_Uc_Ji) String ¶
func (v Season_Uc_Ji) String() string
String returns the literal string representation of a Season_Uc_Ji, which is the same as the const identifier but without prefix or suffix.
func (*Season_Uc_Ji) UnmarshalJSON ¶
func (v *Season_Uc_Ji) UnmarshalJSON(text []byte) error
UnmarshalJSON converts transmitted JSON values to ordinary values. It allows both ordinals and strings to represent the values.
type Season_Uc_Jj ¶
type Season_Uc_Jj uint
const ( Spring_Uc_Jj Season_Uc_Jj // json:"Sprg" Summer_Uc_Jj // json:"Sumr" Autumn_Uc_Jj // json:"Autm" Winter_Uc_Jj // json:"Wint" )
func AsSeason_Uc_Jj ¶
func AsSeason_Uc_Jj(s string) (Season_Uc_Jj, error)
AsSeason_Uc_Jj parses a string to find the corresponding Season_Uc_Jj, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason_Uc_Jj ¶
func MustParseSeason_Uc_Jj(s string) Season_Uc_Jj
MustParseSeason_Uc_Jj is similar to AsSeason_Uc_Jj except that it panics on error.
func Season_Uc_JjOf ¶
func Season_Uc_JjOf(v int) Season_Uc_Jj
Season_Uc_JjOf returns a Season_Uc_Jj based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Uc_Jj is returned.
func (Season_Uc_Jj) Int ¶
func (v Season_Uc_Jj) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Uc_Jj) IsValid ¶
func (v Season_Uc_Jj) IsValid() bool
IsValid determines whether a Season_Uc_Jj is one of the defined constants.
func (Season_Uc_Jj) JSON ¶
func (v Season_Uc_Jj) JSON() string
JSON returns an approximation to the representation used for transmission via JSON. However, strings are not quoted.
func (Season_Uc_Jj) MarshalJSON ¶
func (v Season_Uc_Jj) MarshalJSON() ([]byte, error)
MarshalJSON converts values to bytes suitable for transmission via JSON. The representation is chosen according to 'json' struct tags.
func (Season_Uc_Jj) Ordinal ¶
func (v Season_Uc_Jj) Ordinal() int
Ordinal returns the ordinal number of a Season_Uc_Jj. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Uc_Jj) Parse ¶
func (v *Season_Uc_Jj) Parse(in string) error
Parse parses a string to find the corresponding Season_Uc_Jj, accepting one of the string values or a number. It is used by AsSeason_Uc_Jj.
Usage Example
v := new(Season_Uc_Jj) err := v.Parse(s) ... etc
func (Season_Uc_Jj) String ¶
func (v Season_Uc_Jj) String() string
String returns the literal string representation of a Season_Uc_Jj, which is the same as the const identifier but without prefix or suffix.
func (*Season_Uc_Jj) UnmarshalJSON ¶
func (v *Season_Uc_Jj) UnmarshalJSON(text []byte) error
UnmarshalJSON converts transmitted JSON values to ordinary values. It allows both ordinals and strings to represent the values.
type Season_Uc_Jn ¶
type Season_Uc_Jn uint
const ( Spring_Uc_Jn Season_Uc_Jn Summer_Uc_Jn Autumn_Uc_Jn // 3 Winter_Uc_Jn )
func AsSeason_Uc_Jn ¶
func AsSeason_Uc_Jn(s string) (Season_Uc_Jn, error)
AsSeason_Uc_Jn parses a string to find the corresponding Season_Uc_Jn, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason_Uc_Jn ¶
func MustParseSeason_Uc_Jn(s string) Season_Uc_Jn
MustParseSeason_Uc_Jn is similar to AsSeason_Uc_Jn except that it panics on error.
func Season_Uc_JnOf ¶
func Season_Uc_JnOf(v int) Season_Uc_Jn
Season_Uc_JnOf returns a Season_Uc_Jn based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Uc_Jn is returned.
func (Season_Uc_Jn) Int ¶
func (v Season_Uc_Jn) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Uc_Jn) IsValid ¶
func (v Season_Uc_Jn) IsValid() bool
IsValid determines whether a Season_Uc_Jn is one of the defined constants.
func (Season_Uc_Jn) MarshalJSON ¶
func (v Season_Uc_Jn) MarshalJSON() ([]byte, error)
MarshalJSON converts values to bytes suitable for transmission via JSON. The number representation is chosen according to -marshaljson.
func (Season_Uc_Jn) Ordinal ¶
func (v Season_Uc_Jn) Ordinal() int
Ordinal returns the ordinal number of a Season_Uc_Jn. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Uc_Jn) Parse ¶
func (v *Season_Uc_Jn) Parse(in string) error
Parse parses a string to find the corresponding Season_Uc_Jn, accepting one of the string values or a number. It is used by AsSeason_Uc_Jn.
Usage Example
v := new(Season_Uc_Jn) err := v.Parse(s) ... etc
func (Season_Uc_Jn) String ¶
func (v Season_Uc_Jn) String() string
String returns the literal string representation of a Season_Uc_Jn, which is the same as the const identifier but without prefix or suffix.
func (*Season_Uc_Jn) UnmarshalJSON ¶
func (v *Season_Uc_Jn) UnmarshalJSON(text []byte) error
UnmarshalJSON converts transmitted JSON values to ordinary values. It allows both ordinals and strings to represent the values.
type Season_Uc_Si ¶
type Season_Uc_Si uint
const (
Spring_Uc_Si, Summer_Uc_Si, Autumn_Uc_Si, Winter_Uc_Si Season_Uc_Si = 1, 2, 3, 4
)
func AsSeason_Uc_Si ¶
func AsSeason_Uc_Si(s string) (Season_Uc_Si, error)
AsSeason_Uc_Si parses a string to find the corresponding Season_Uc_Si, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason_Uc_Si ¶
func MustParseSeason_Uc_Si(s string) Season_Uc_Si
MustParseSeason_Uc_Si is similar to AsSeason_Uc_Si except that it panics on error.
func Season_Uc_SiOf ¶
func Season_Uc_SiOf(v int) Season_Uc_Si
Season_Uc_SiOf returns a Season_Uc_Si based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Uc_Si is returned.
func (Season_Uc_Si) Int ¶
func (v Season_Uc_Si) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Uc_Si) IsValid ¶
func (v Season_Uc_Si) IsValid() bool
IsValid determines whether a Season_Uc_Si is one of the defined constants.
func (Season_Uc_Si) Ordinal ¶
func (v Season_Uc_Si) Ordinal() int
Ordinal returns the ordinal number of a Season_Uc_Si. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Uc_Si) Parse ¶
func (v *Season_Uc_Si) Parse(in string) error
Parse parses a string to find the corresponding Season_Uc_Si, accepting one of the string values or a number. It is used by AsSeason_Uc_Si.
Usage Example
v := new(Season_Uc_Si) err := v.Parse(s) ... etc
func (*Season_Uc_Si) Scan ¶
func (v *Season_Uc_Si) Scan(value interface{}) error
Scan parses some value, which can be a number, a string or []byte. It implements sql.Scanner, https://golang.org/pkg/database/sql/#Scanner
func (Season_Uc_Si) String ¶
func (v Season_Uc_Si) String() string
String returns the literal string representation of a Season_Uc_Si, which is the same as the const identifier but without prefix or suffix.
func (Season_Uc_Si) Value ¶
func (v Season_Uc_Si) Value() (driver.Value, error)
Value converts the Season_Uc_Si to a string (based on '-store identifier'). It implements driver.Valuer, https://golang.org/pkg/database/sql/driver/#Valuer
type Season_Uc_Sn ¶
type Season_Uc_Sn uint
const (
Spring_Uc_Sn, Summer_Uc_Sn, Autumn_Uc_Sn, Winter_Uc_Sn Season_Uc_Sn = 1, 2, 3, 4
)
func AsSeason_Uc_Sn ¶
func AsSeason_Uc_Sn(s string) (Season_Uc_Sn, error)
AsSeason_Uc_Sn parses a string to find the corresponding Season_Uc_Sn, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason_Uc_Sn ¶
func MustParseSeason_Uc_Sn(s string) Season_Uc_Sn
MustParseSeason_Uc_Sn is similar to AsSeason_Uc_Sn except that it panics on error.
func Season_Uc_SnOf ¶
func Season_Uc_SnOf(v int) Season_Uc_Sn
Season_Uc_SnOf returns a Season_Uc_Sn based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Uc_Sn is returned.
func (Season_Uc_Sn) Int ¶
func (v Season_Uc_Sn) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Uc_Sn) IsValid ¶
func (v Season_Uc_Sn) IsValid() bool
IsValid determines whether a Season_Uc_Sn is one of the defined constants.
func (Season_Uc_Sn) Ordinal ¶
func (v Season_Uc_Sn) Ordinal() int
Ordinal returns the ordinal number of a Season_Uc_Sn. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Uc_Sn) Parse ¶
func (v *Season_Uc_Sn) Parse(in string) error
Parse parses a string to find the corresponding Season_Uc_Sn, accepting one of the string values or a number. It is used by AsSeason_Uc_Sn.
Usage Example
v := new(Season_Uc_Sn) err := v.Parse(s) ... etc
func (*Season_Uc_Sn) Scan ¶
func (v *Season_Uc_Sn) Scan(value interface{}) error
Scan parses some value, which can be a number, a string or []byte. It implements sql.Scanner, https://golang.org/pkg/database/sql/#Scanner
func (Season_Uc_Sn) String ¶
func (v Season_Uc_Sn) String() string
String returns the literal string representation of a Season_Uc_Sn, which is the same as the const identifier but without prefix or suffix.
func (Season_Uc_Sn) Value ¶
func (v Season_Uc_Sn) Value() (driver.Value, error)
Value converts the Season_Uc_Sn to a number (based on '-store number'). It implements driver.Valuer, https://golang.org/pkg/database/sql/driver/#Valuer
type Season_Uc_Ta ¶
type Season_Uc_Ta uint
const ( Spring_Uc_Ta Season_Uc_Ta // all:"Sprg" Summer_Uc_Ta // all:"Sumr" Autumn_Uc_Ta // all:"Autm" Winter_Uc_Ta // all:"Wint" )
func AsSeason_Uc_Ta ¶
func AsSeason_Uc_Ta(s string) (Season_Uc_Ta, error)
AsSeason_Uc_Ta parses a string to find the corresponding Season_Uc_Ta, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason_Uc_Ta ¶
func MustParseSeason_Uc_Ta(s string) Season_Uc_Ta
MustParseSeason_Uc_Ta is similar to AsSeason_Uc_Ta except that it panics on error.
func Season_Uc_TaOf ¶
func Season_Uc_TaOf(v int) Season_Uc_Ta
Season_Uc_TaOf returns a Season_Uc_Ta based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Uc_Ta is returned.
func (Season_Uc_Ta) Int ¶
func (v Season_Uc_Ta) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Uc_Ta) IsValid ¶
func (v Season_Uc_Ta) IsValid() bool
IsValid determines whether a Season_Uc_Ta is one of the defined constants.
func (Season_Uc_Ta) JSON ¶
func (v Season_Uc_Ta) JSON() string
JSON returns an approximation to the representation used for transmission via JSON. However, strings are not quoted.
func (Season_Uc_Ta) MarshalJSON ¶
func (v Season_Uc_Ta) MarshalJSON() ([]byte, error)
MarshalJSON converts values to bytes suitable for transmission via JSON. The representation is chosen according to 'json' struct tags.
func (Season_Uc_Ta) MarshalText ¶
func (v Season_Uc_Ta) MarshalText() ([]byte, error)
MarshalText converts values to bytes suitable for transmission via XML, JSON etc.
func (Season_Uc_Ta) Ordinal ¶
func (v Season_Uc_Ta) Ordinal() int
Ordinal returns the ordinal number of a Season_Uc_Ta. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Uc_Ta) Parse ¶
func (v *Season_Uc_Ta) Parse(in string) error
Parse parses a string to find the corresponding Season_Uc_Ta, accepting one of the string values or a number. It is used by AsSeason_Uc_Ta.
Usage Example
v := new(Season_Uc_Ta) err := v.Parse(s) ... etc
func (*Season_Uc_Ta) Scan ¶
func (v *Season_Uc_Ta) Scan(value interface{}) error
Scan parses some value, which can be a number, a string or []byte. It implements sql.Scanner, https://golang.org/pkg/database/sql/#Scanner
func (Season_Uc_Ta) String ¶
func (v Season_Uc_Ta) String() string
String returns the literal string representation of a Season_Uc_Ta, which is the same as the const identifier but without prefix or suffix.
func (Season_Uc_Ta) Text ¶
func (v Season_Uc_Ta) Text() string
Text returns the representation used for transmission via XML, JSON etc.
func (*Season_Uc_Ta) UnmarshalJSON ¶
func (v *Season_Uc_Ta) UnmarshalJSON(text []byte) error
UnmarshalJSON converts transmitted JSON values to ordinary values. It allows both ordinals and strings to represent the values.
func (*Season_Uc_Ta) UnmarshalText ¶
func (v *Season_Uc_Ta) UnmarshalText(bs []byte) error
UnmarshalText converts transmitted values to ordinary values.
func (Season_Uc_Ta) Value ¶
func (v Season_Uc_Ta) Value() (driver.Value, error)
Value converts the Season_Uc_Ta to a string. The representation is chosen according to 'sql' struct tags. It implements driver.Valuer, https://golang.org/pkg/database/sql/driver/#Valuer
type Season_Uc_Ti ¶
type Season_Uc_Ti uint
const (
Spring_Uc_Ti, Summer_Uc_Ti, Autumn_Uc_Ti, Winter_Uc_Ti Season_Uc_Ti = 1, 2, 3, 4
)
func AsSeason_Uc_Ti ¶
func AsSeason_Uc_Ti(s string) (Season_Uc_Ti, error)
AsSeason_Uc_Ti parses a string to find the corresponding Season_Uc_Ti, accepting either one of the string values or a number. The input representation is determined by season_uc_tiMarshalTextRep. It wraps Parse.
func MustParseSeason_Uc_Ti ¶
func MustParseSeason_Uc_Ti(s string) Season_Uc_Ti
MustParseSeason_Uc_Ti is similar to AsSeason_Uc_Ti except that it panics on error.
func Season_Uc_TiOf ¶
func Season_Uc_TiOf(v int) Season_Uc_Ti
Season_Uc_TiOf returns a Season_Uc_Ti based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Uc_Ti is returned.
func (Season_Uc_Ti) Int ¶
func (v Season_Uc_Ti) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Uc_Ti) IsValid ¶
func (v Season_Uc_Ti) IsValid() bool
IsValid determines whether a Season_Uc_Ti is one of the defined constants.
func (Season_Uc_Ti) MarshalText ¶
func (v Season_Uc_Ti) MarshalText() ([]byte, error)
MarshalText converts values to bytes suitable for transmission via XML, JSON etc.
func (Season_Uc_Ti) Ordinal ¶
func (v Season_Uc_Ti) Ordinal() int
Ordinal returns the ordinal number of a Season_Uc_Ti. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Uc_Ti) Parse ¶
func (v *Season_Uc_Ti) Parse(in string) error
Parse parses a string to find the corresponding Season_Uc_Ti, accepting one of the string values or a number. The input representation is determined by Identifier. It is used by AsSeason_Uc_Ti.
Usage Example
v := new(Season_Uc_Ti) err := v.Parse(s) ... etc
func (Season_Uc_Ti) String ¶
func (v Season_Uc_Ti) String() string
String returns the literal string representation of a Season_Uc_Ti, which is the same as the const identifier but without prefix or suffix.
func (Season_Uc_Ti) Text ¶
func (v Season_Uc_Ti) Text() string
Text returns the representation used for transmission via XML, JSON etc.
func (*Season_Uc_Ti) UnmarshalText ¶
func (v *Season_Uc_Ti) UnmarshalText(bs []byte) error
UnmarshalText converts transmitted values to ordinary values.
type Season_Uc_Tn ¶
type Season_Uc_Tn uint
const (
Spring_Uc_Tn, Summer_Uc_Tn, Autumn_Uc_Tn, Winter_Uc_Tn Season_Uc_Tn = 1, 2, 3, 4
)
func AsSeason_Uc_Tn ¶
func AsSeason_Uc_Tn(s string) (Season_Uc_Tn, error)
AsSeason_Uc_Tn parses a string to find the corresponding Season_Uc_Tn, accepting either one of the string values or a number. The input representation is determined by season_uc_tnMarshalTextRep. It wraps Parse.
func MustParseSeason_Uc_Tn ¶
func MustParseSeason_Uc_Tn(s string) Season_Uc_Tn
MustParseSeason_Uc_Tn is similar to AsSeason_Uc_Tn except that it panics on error.
func Season_Uc_TnOf ¶
func Season_Uc_TnOf(v int) Season_Uc_Tn
Season_Uc_TnOf returns a Season_Uc_Tn based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Uc_Tn is returned.
func (Season_Uc_Tn) Int ¶
func (v Season_Uc_Tn) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Uc_Tn) IsValid ¶
func (v Season_Uc_Tn) IsValid() bool
IsValid determines whether a Season_Uc_Tn is one of the defined constants.
func (Season_Uc_Tn) MarshalText ¶
func (v Season_Uc_Tn) MarshalText() ([]byte, error)
MarshalText converts values to bytes suitable for transmission via XML, JSON etc.
func (Season_Uc_Tn) Ordinal ¶
func (v Season_Uc_Tn) Ordinal() int
Ordinal returns the ordinal number of a Season_Uc_Tn. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Uc_Tn) Parse ¶
func (v *Season_Uc_Tn) Parse(in string) error
Parse parses a string to find the corresponding Season_Uc_Tn, accepting one of the string values or a number. The input representation is determined by Number. It is used by AsSeason_Uc_Tn.
Usage Example
v := new(Season_Uc_Tn) err := v.Parse(s) ... etc
func (Season_Uc_Tn) String ¶
func (v Season_Uc_Tn) String() string
String returns the literal string representation of a Season_Uc_Tn, which is the same as the const identifier but without prefix or suffix.
func (*Season_Uc_Tn) UnmarshalText ¶
func (v *Season_Uc_Tn) UnmarshalText(bs []byte) error
UnmarshalText converts transmitted values to ordinary values.
type Season_Uc_Tt ¶
type Season_Uc_Tt uint
const ( Spring_Uc_Tt Season_Uc_Tt // text:"Sprg" Summer_Uc_Tt // text:"Sumr" Autumn_Uc_Tt // text:"Autm" Winter_Uc_Tt // text:"Wint" )
func AsSeason_Uc_Tt ¶
func AsSeason_Uc_Tt(s string) (Season_Uc_Tt, error)
AsSeason_Uc_Tt parses a string to find the corresponding Season_Uc_Tt, accepting either one of the string values or a number. It wraps Parse.
func MustParseSeason_Uc_Tt ¶
func MustParseSeason_Uc_Tt(s string) Season_Uc_Tt
MustParseSeason_Uc_Tt is similar to AsSeason_Uc_Tt except that it panics on error.
func Season_Uc_TtOf ¶
func Season_Uc_TtOf(v int) Season_Uc_Tt
Season_Uc_TtOf returns a Season_Uc_Tt based on an ordinal number. This is the inverse of Ordinal. If the ordinal is out of range, an invalid Season_Uc_Tt is returned.
func (Season_Uc_Tt) Int ¶
func (v Season_Uc_Tt) Int() int
Int returns the int value, which is not necessarily the same as the ordinal. This facilitates polymorphism (see enum.IntEnum).
func (Season_Uc_Tt) IsValid ¶
func (v Season_Uc_Tt) IsValid() bool
IsValid determines whether a Season_Uc_Tt is one of the defined constants.
func (Season_Uc_Tt) MarshalText ¶
func (v Season_Uc_Tt) MarshalText() ([]byte, error)
MarshalText converts values to bytes suitable for transmission via XML, JSON etc.
func (Season_Uc_Tt) Ordinal ¶
func (v Season_Uc_Tt) Ordinal() int
Ordinal returns the ordinal number of a Season_Uc_Tt. This is an integer counting from zero. It is *not* the same as the const number assigned to the value.
func (*Season_Uc_Tt) Parse ¶
func (v *Season_Uc_Tt) Parse(in string) error
Parse parses a string to find the corresponding Season_Uc_Tt, accepting one of the string values or a number. It is used by AsSeason_Uc_Tt.
Usage Example
v := new(Season_Uc_Tt) err := v.Parse(s) ... etc
func (Season_Uc_Tt) String ¶
func (v Season_Uc_Tt) String() string
String returns the literal string representation of a Season_Uc_Tt, which is the same as the const identifier but without prefix or suffix.
func (Season_Uc_Tt) Text ¶
func (v Season_Uc_Tt) Text() string
Text returns the representation used for transmission via XML, JSON etc.
func (*Season_Uc_Tt) UnmarshalText ¶
func (v *Season_Uc_Tt) UnmarshalText(bs []byte) error
UnmarshalText converts transmitted values to ordinary values.
Source Files
¶
- season.go
- season1_enum.go
- season2_enum.go
- season_ic_ji_enum.go
- season_ic_jj_enum.go
- season_ic_jn_enum.go
- season_ic_si_enum.go
- season_ic_sn_enum.go
- season_ic_ss_enum.go
- season_ic_ta_enum.go
- season_ic_ti_enum.go
- season_ic_tn_enum.go
- season_ic_tt_enum.go
- season_json.go
- season_nc_ji_enum.go
- season_nc_jj_enum.go
- season_nc_jn_enum.go
- season_nc_si_enum.go
- season_nc_sn_enum.go
- season_nc_ss_enum.go
- season_nc_ta_enum.go
- season_nc_ti_enum.go
- season_nc_tn_enum.go
- season_nc_tt_enum.go
- season_sql.go
- season_text.go
- season_uc_ji_enum.go
- season_uc_jj_enum.go
- season_uc_jn_enum.go
- season_uc_si_enum.go
- season_uc_sn_enum.go
- season_uc_ta_enum.go
- season_uc_ti_enum.go
- season_uc_tn_enum.go
- season_uc_tt_enum.go