utils

package
v0.0.0-...-6dc5add Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CutStr

func CutStr(str string, length int) string

CutStr cut str

func Days

func Days(month int) int

Days days in a month

func IsNil

func IsNil(obj interface{}) bool

IsNil check obj of interface{} is nil

func MaxInt

func MaxInt(x, y int) int

MaxInt max int value

func Md5String

func Md5String(str string) string

Md5String string md5

func MinInt

func MinInt(x, y int) int

MinInt min int value

func ParseBool

func ParseBool(str string) bool

ParseBool str to bool

func PathExists

func PathExists(path string) (bool, error)

PathExists ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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