Documentation
¶
Index ¶
- func Format(tpl string, args map[string]any) string
- func FormatTpl(s string, args map[string]any) string
- func ParseSize(sizeStr string) ([]int, error)
- func ParseSizes(sizesStr string) ([][]int, error)
- func ToInt64s(ss []string) []int64
- func ToInts(ss []string) []int
- func ToIntsDefault(s string, dv ...int) int
- func ToString[T constraints.Integer](ints []T) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseSizes ¶
ParseSizes 600x800,200x300, -> [[600,800],[200,300]],200->[[200,200]]
func ToIntsDefault ¶
func ToString ¶
func ToString[T constraints.Integer](ints []T) []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.