qutil

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClampInt added in v0.1.86

func ClampInt(value int, min int, max int) int

func HostnameToIp added in v0.1.51

func HostnameToIp(hostname string) string

func IsValidServerAddress added in v0.2.0

func IsValidServerAddress(address string) bool

func MarshalNoEscapeHtml added in v0.1.21

func MarshalNoEscapeHtml(value any) ([]byte, error)

func Pluralize added in v0.1.57

func Pluralize(word string, count int) string

func StringToInt

func StringToInt(value string) int

func StripQuakeFixes added in v0.1.16

func StripQuakeFixes(strs []string) []string

func TrimSymbols added in v0.1.46

func TrimSymbols(value string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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