rstring

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFirstAvaliable

func GetFirstAvaliable(values ...string) string

func IntOrDefault added in v1.0.2

func IntOrDefault(i string, d int64) int64

func NumOrDefault added in v1.0.11

func NumOrDefault[T Number](i string, d T) T

Types

type Number added in v1.0.11

type Number interface {
	constraints.Integer | constraints.Float
}

Jump to

Keyboard shortcuts

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