model

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(model configs.AndiModel)

func GetDistinctElementInConf

func GetDistinctElementInConf(getKey string, searchKey string) (exist map[interface{}]interface{})

GetElementInConf get an element identified by searchKey in config file

func IsKeyInConfFile

func IsKeyInConfFile(getKey string, searchKey string, searchValue string) (exist []map[interface{}]interface{}, entries []map[interface{}]interface{})

IsKeyInConfFile search an element identified by searchKey=searchValue in config file

Types

type TemplateData

type TemplateData struct {
	First map[interface{}]interface{}
	Data  []map[interface{}]interface{}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL