util

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: May 9, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(args ...int) int

func CmdExec added in v0.1.1

func CmdExec(cmdStr string)

func Concat

func Concat(args ...string) string

func GetStatusCodeFromComment

func GetStatusCodeFromComment(comment string) (int32, error)

func IsDirExist added in v0.1.1

func IsDirExist(name string) bool

func IsFileExist

func IsFileExist(name string) bool

func MatchString

func MatchString(b []byte, expr string) bool

func OpenFile

func OpenFile(fPath string) (*os.File, error)

func ToCamelCase added in v0.1.1

func ToCamelCase(s string) string

func ToInt

func ToInt(v interface{}) int

func ToLowerFirst

func ToLowerFirst(s string) string

func ToSnakeCase added in v0.1.1

func ToSnakeCase(s string) string

func ToUpperFirst

func ToUpperFirst(s 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