utils

package
v0.0.0-...-82ffc00 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentDirectory

func GetCurrentDirectory() (string, error)

func GetIP

func GetIP() string

func GetIp

func GetIp() string

func Hash

func Hash(str string) string

func HomeDir

func HomeDir() (string, error)

func ValueOfInt

func ValueOfInt(data interface{}, defaultValue uint64) uint64

func ValueOfString

func ValueOfString(data interface{}, defaultValue string) string

ValueOfString 判断为空则使用默认值

Types

This section is empty.

Jump to

Keyboard shortcuts

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