Documentation ¶
Index ¶
- Variables
- func ConvertKeyToId(key string) string
- func GenericListContainItem(elem interface{}, elems []interface{}) bool
- func LoadStructureFromYamlFile(folder string, filePath string, data interface{}) (interface{}, error)
- func NewUID() string
- func ReplaceQuestionUnrelated(val string) (string, error)
- func RestParseRequest(w http.ResponseWriter, r *http.Request, res interface{}) error
- func RestParseResponse(w http.ResponseWriter, r *http.Request, req interface{}) error
- func SaveStructureToYamlFile(folder string, filePath string, data interface{}) error
- func StringsListContainItem(elem string, elems []string, ignoreCase bool) bool
- func StructToString(i interface{}) string
- func StructureToJson(itf interface{}) ([]byte, error)
- type FileIndex
- type Printable
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTypeNotSupport = errors.New("Type not supported") ErrIPInvalid = errors.New("Invalid IP address") )
Functions ¶
func ConvertKeyToId ¶
func GenericListContainItem ¶
func GenericListContainItem(elem interface{}, elems []interface{}) bool
func RestParseRequest ¶
func RestParseRequest(w http.ResponseWriter, r *http.Request, res interface{}) error
func RestParseResponse ¶
func RestParseResponse(w http.ResponseWriter, r *http.Request, req interface{}) error
func SaveStructureToYamlFile ¶
func StringsListContainItem ¶
func StructToString ¶
func StructToString(i interface{}) string
func StructureToJson ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.