 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- func AssertSliceEqual[T comparable](t *testing.T, expected, seen []T)
- func SliceEqual[T comparable](expected, seen []T) bool
- func ToMap(keys1, keys2, values []frontend.Variable) map[string]interface{}
- func ToVariable(v interface{}) frontend.Variable
- func ToVariableSlice[V any](slice []V) (variableSlice []frontend.Variable)
- func ToVariableSliceSlice[V any](sliceSlice [][]V) (variableSliceSlice [][]frontend.Variable)
- type DoubleMap
- type ElementMap
- type Map
- type MapHash
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var MapCache = make(map[string]ElementMap) // @Tabaie: global bad?
    Functions ¶
func AssertSliceEqual ¶
func AssertSliceEqual[T comparable](t *testing.T, expected, seen []T)
func SliceEqual ¶
func SliceEqual[T comparable](expected, seen []T) bool
func ToVariable ¶
func ToVariableSlice ¶
func ToVariableSliceSlice ¶
Types ¶
type DoubleMap ¶
type DoubleMap struct {
	// contains filtered or unexported fields
}
    The keys in a DoubleMap must be constant. i.e. known at setup time
type ElementMap ¶
type ElementMap struct {
	// contains filtered or unexported fields
}
    func ElementMapFromFile ¶
func ElementMapFromFile(path string) (ElementMap, error)
func ReadMap ¶
func ReadMap(in map[string]interface{}) ElementMap
type MapHash ¶
type MapHash struct {
	Map ElementMap
	API frontend.API
	// contains filtered or unexported fields
}
     Click to show internal directories. 
   Click to hide internal directories.