qutil

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 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 StripControlCharacters added in v1.0.0

func StripControlCharacters(str string) string

func StripQuakeFixes added in v0.1.16

func StripQuakeFixes(strs []string) []string

func TrimSymbols added in v0.1.46

func TrimSymbols(value string) string

func UnicodeToAscii added in v1.0.3

func UnicodeToAscii(str 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