gitlab.com/evatix-go/core@v1.3.55/constants/arrayvars.go (about) 1 package constants 2 3 //goland:noinspection ALL 4 var ( 5 // Copied from golang strings 6 AsciiSpace = [256]uint8{ 7 TabByte: One, 8 LineFeedUnixByte: One, 9 TabVByte: One, 10 FormFeedByte: One, 11 CarriageReturnByte: One, 12 SpaceByte: One, 13 0x85: One, // reference : https://bit.ly/2JWdIoj 14 0xA0: One, // reference : https://bit.ly/2JWdIoj 15 } 16 17 // FormFeed \f is also marked as newline here. 18 AsciiNewLinesChars = [256]uint8{ 19 LineFeedUnix: One, 20 FormFeed: One, 21 CarriageReturn: One, 22 } 23 24 SpecialChars = [256]uint8{ 25 '!': One, 26 '@': One, 27 '#': One, 28 '$': One, 29 '%': One, 30 '^': One, 31 '&': One, 32 '*': One, 33 '(': One, 34 ')': One, 35 } 36 37 BracketChars = [256]uint8{ 38 '[': One, 39 ']': One, 40 '{': One, 41 '}': One, 42 '(': One, 43 ')': One, 44 '<': One, 45 '>': One, 46 } 47 48 EmptyStrings []string 49 EmptyPtrStrings []*string 50 EmptyInts []int 51 EmptyBytes []byte 52 EmptyFloats []float32 53 EmptyFloat64s []float64 54 EmptyInterfaces []interface{} 55 EmptyIntToPtrIntsMap map[int]*[]int 56 EmptyIntToIntsMap map[int][]int 57 EmptyIntToBytesMap map[int][]byte 58 EmptyIntToPtrBytesMap map[int]*[]byte 59 EmptyStringMap map[string]string 60 EmptyStrToIntsMap map[string][]int 61 EmptyStrToPtrIntsMap map[string]*[]int 62 EmptyStrToPtrBytesMap map[string]*[]byte 63 EmptyStringsMap map[string][]string 64 EmptyPtrStringsMap map[string]*[]string 65 )