internal

package
v0.0.0-...-6670d34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(cond bool, msg string, i ...interface{})

func CoerceToLikelyGoType

func CoerceToLikelyGoType(v interface{}) interface{}

func CompactStrings

func CompactStrings(x ...*string) []string

func FileUriPath

func FileUriPath(u *url.URL) string

func IntPtrToFloatPtr

func IntPtrToFloatPtr(i *int) *float64

func LastString

func LastString(s []string) string

func LowercaseKeys

func LowercaseKeys(m map[string]interface{}) map[string]interface{}

func MaxFloat64

func MaxFloat64(i1, i2 float64) float64

func MaxFloat64Ptr

func MaxFloat64Ptr(i1, i2 *float64) *float64

func MaxInt

func MaxInt(i1, i2 int) int

func MaxIntPtr

func MaxIntPtr(i1, i2 *int) *int

func MinFloat64

func MinFloat64(i1, i2 float64) float64

func MinFloat64Ptr

func MinFloat64Ptr(i1, i2 *float64) *float64

func MinInt

func MinInt(i1, i2 int) int

func MinIntPtr

func MinIntPtr(i1, i2 *int) *int

func SliceIToInt

func SliceIToInt(x interface{}) []int

func SliceIToStr

func SliceIToStr(x interface{}) []string

func ToPlainMap

func ToPlainMap(s map[string]interface{}) (map[string]interface{}, error)

func UniqueSortedStrings

func UniqueSortedStrings(x []string) []string

func UrlValuesToMap

func UrlValuesToMap(values url.Values) map[string]interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL