Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCallResults ¶
checks for errors and unexpected error code in the response data
func NameForID ¶
func NameForID(sm IdToNameMap, idOf string) string
func NameToIDTransformer ¶
func NameToIDTransformer(sm IdToNameMap) func(name interface{}) interface{}
NameToIDTransformer returns a survey.Transformer that transform the map value into it's key todo remove the direct dependency on the survey api
func Names ¶
func Names(sm IdToNameMap) []string
Types ¶
Click to show internal directories.
Click to hide internal directories.