Versions in this module Expand all Collapse all v0 v0.0.1 May 21, 2020 Changes in this version + var ErrIPInvalid = errors.New("Invalid IP address") + var ErrTypeNotSupport = errors.New("Type not supported") + 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 struct + Index int + Path string + Size int64 + func FileToIndex(path string, extension string) (FileIndex, error) + type Printable interface + String func() string