Documentation
¶
Index ¶
- Constants
- Variables
- type Index
- func (it *Index) AsBasicByteEnumContractsBinder() coreinterface.BasicByteEnumContractsBinder
- func (it *Index) AsBasicEnumContractsBinder() coreinterface.BasicEnumContractsBinder
- func (it Index) IsBuild() bool
- func (it Index) IsMajor() bool
- func (it Index) IsMinor() bool
- func (it Index) IsPatch() bool
- func (it *Index) MarshalJSON() ([]byte, error)
- func (it *Index) MaxByte() byte
- func (it *Index) MinByte() byte
- func (it *Index) Name() string
- func (it Index) RangeNamesCsv() string
- func (it *Index) RangesByte() []byte
- func (it *Index) String() string
- func (it *Index) ToNumberString() string
- func (it Index) TypeName() string
- func (it *Index) UnmarshalJSON(data []byte) error
- func (it *Index) UnmarshallEnumToValue(jsonUnmarshallingValue []byte) (byte, error)
- func (it *Index) ValueByte() byte
Constants ¶
View Source
const ( Major = iota Minor = 1 Patch = 2 Build = 3 )
View Source
const ( BuildLength = 4 PatchLength = 3 MinorLength = 2 MajorLength = 1 NoElementLength = 0 )
Variables ¶
View Source
var ( UptoBuildIndexes = []int{ Major, Minor, Patch, Build, } UptoPatchIndexes = []int{ Major, Minor, Patch, } UptoMinorIndexes = []int{ Major, Minor, } UptoMajorIndexes = []int{ Major, } Ranges = [...]string{ Major: "Major", Minor: "Minor", Patch: "Patch", Build: "Build", } AllVersionIndexes = []Index{ Major, Minor, Patch, Build, } BasicEnumImpl = enumimpl.NewBasicByteUsingIndexedSlice( reflectinternal.TypeName(Major), Ranges[:]) )
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index byte
func (*Index) AsBasicByteEnumContractsBinder ¶
func (it *Index) AsBasicByteEnumContractsBinder() coreinterface.BasicByteEnumContractsBinder
func (*Index) AsBasicEnumContractsBinder ¶
func (it *Index) AsBasicEnumContractsBinder() coreinterface.BasicEnumContractsBinder
func (*Index) MarshalJSON ¶
func (Index) RangeNamesCsv ¶
func (*Index) RangesByte ¶
func (*Index) ToNumberString ¶
func (*Index) UnmarshalJSON ¶
func (*Index) UnmarshallEnumToValue ¶
Click to show internal directories.
Click to hide internal directories.