github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/lang/types/groups.go (about) 1 package types 2 3 // These are the different supported type groups 4 const ( 5 Any = "@Any" 6 Text = "@Text" 7 Math = "@Math" 8 Unmarshal = "@Unmarshal" 9 Marshal = "@Marshal" 10 ReadArray = "@ReadArray" 11 ReadArrayWithType = "@ReadArrayWithType" 12 WriteArray = "@WriteArray" 13 ReadIndex = "@ReadIndex" 14 ReadNotIndex = "@ReadNotIndex" 15 ReadMap = "@ReadMap" 16 ) 17 18 // GroupText is an array of the data types that make up the `text` type 19 var GroupText = []string{ 20 Generic, 21 String, 22 `generic`, 23 `string`, 24 } 25 26 // GroupMath is an array of the data types that make up the `math` type 27 var GroupMath = []string{ 28 Number, 29 Integer, 30 Float, 31 Boolean, 32 }