Documentation
¶
Index ¶
- func AtoV(vars ...any) bool
- func BuildGormQuery(ctx *context.Context, db *gorm.DB, queryParams url.Values) *gorm.DB
- func ConvertXLSXToCSV(xlsxPath string, csvPath string) error
- func FindStringSubmatch(reg *regexp.Regexp, s string) map[string]string
- func MatchGroupMap(reg *regexp.Regexp, match []string) map[string]string
- func Max[T constraints.Ordered](a, b T) T
- func Min[T constraints.Ordered](a, b T) T
- func PopQueryParam[T string | []string](qp url.Values, key string) T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildGormQuery ¶
func ConvertXLSXToCSV ¶
ConvertXLSXToCSV converts a given XLSX file to CSV
func MatchGroupMap ¶
MatchGroupMap converts the match string array into a map of group keys to group values
func Max ¶
func Max[T constraints.Ordered](a, b T) T
Max returns the maximum of two values of any ordered type.
func Min ¶
func Min[T constraints.Ordered](a, b T) T
Max returns the maximum of two values of any ordered type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.