Documentation
¶
Index ¶
- Variables
- func AssertStringToType[T model.Assert](v string) T
- func ConvertSlice(src []string, t interface{}) error
- func ConvertValue(src string, t interface{}) error
- func EscapeString(value string) string
- func GetFilenameSuffix(filename string) string
- func IsRequestMultipart(req *http.Request) bool
- func JoinPath(basePath string, path string) string
- func MustConvertSlice(src []string, t interface{})
- func MustConvertValue(src string, t interface{})
- func MustJoinPath(basePath string, path string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorPointerTarget = errors.New("target must be a pointer") ErrorUnsupportedType = errors.New("unsupported type") )
Functions ¶
func AssertStringToType ¶
func ConvertSlice ¶
func ConvertValue ¶
func EscapeString ¶
func GetFilenameSuffix ¶
func IsRequestMultipart ¶
func MustConvertSlice ¶
func MustConvertSlice(src []string, t interface{})
func MustConvertValue ¶
func MustConvertValue(src string, t interface{})
func MustJoinPath ¶ added in v0.1.1
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.