utils

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertStringToType

func ConvertStringToType(s string, t reflect.Type) (interface{}, error)

func GetFieldValue

func GetFieldValue(instance interface{}, fieldName string) (interface{}, error)

func HumanizeName

func HumanizeName(name string) string

func IsURLSafe

func IsURLSafe(s string) bool

func MinInt added in v0.1.2

func MinInt(a, b int) int

func SetStringsAsType

func SetStringsAsType(value reflect.Value, input string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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