util

package
v0.0.0-...-14027d0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CapitalizeFirst

func CapitalizeFirst(str string) string

Capitalises the first character of a string

func Create

func Create() (*os.File, error)

func Exists

func Exists() bool

func Max

func Max(x, y int) int

Max returns the larger of x or y.

func Remove

func Remove() error

Types

type Validator

type Validator struct {
	*validator.Validate
	Translator *ut.Translator
}

func NewValidator

func NewValidator() (*Validator, error)

Jump to

Keyboard shortcuts

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