util

package
v0.0.0-...-fd97d88 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clamp

func Clamp(a, mi, ma int) int

Helper functions

func Is_any

func Is_any(a string, vals ...string) bool

Is any value in a equal to any value in vals

func Is_any_byte

func Is_any_byte(a byte, vals ...byte) bool

Is any value in a equal to any value in vals

func Max

func Max(a, b int) int

func Min

func Min(a, b int) int

func Select_either

func Select_either(vls ...string) (r string)

func Select_one

func Select_one(vls ...string) (r string)

func Vardump

func Vardump(i interface{}) (ret string)

func Vardump_json

func Vardump_json(i interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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