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

     1  package ostype
     2  
     3  import (
     4  	"gitlab.com/evatix-go/core/coredata/coredynamic"
     5  	"gitlab.com/evatix-go/core/coreimpl/enumimpl"
     6  )
     7  
     8  var (
     9  	CurrentGroupVariant = GetGroupVariant()
    10  	// CurrentGroup Current os group
    11  	CurrentGroup = CurrentGroupVariant.Group
    12  	// Type Current Os Type
    13  	Type = CurrentGroupVariant.Variation
    14  
    15  	osGroups = []string{
    16  		"WindowsGroup",
    17  		"UnixGroup",
    18  		"AndroidGroup",
    19  		"JavaScriptGroup",
    20  		"InvalidGroup",
    21  	}
    22  
    23  	basicEnumImplOsType = enumimpl.New.BasicByte.UsingTypeSlice(
    24  		coredynamic.TypeName(Any),
    25  		osTypesStrings[:])
    26  
    27  	basicEnumImplOsGroup = enumimpl.New.BasicByte.UsingTypeSlice(
    28  		coredynamic.TypeName(WindowsGroup),
    29  		osGroups)
    30  )