gitlab.com/evatix-go/core@v1.3.55/bytetype/vars.go (about)

     1  package bytetype
     2  
     3  import (
     4  	"gitlab.com/evatix-go/core/coreimpl/enumimpl"
     5  	"gitlab.com/evatix-go/core/internal/reflectinternal"
     6  )
     7  
     8  var (
     9  	BasicEnumImpl = enumimpl.New.BasicByte.CreateUsingMap(
    10  		reflectinternal.TypeName(Variant(0)),
    11  		map[byte]string{
    12  			Zero.Value():  "Zero",
    13  			Min.Value():   "Min",
    14  			One.Value():   "One",
    15  			Two.Value():   "Two",
    16  			Three.Value(): "Three",
    17  			Max.Value():   "Max",
    18  		})
    19  )