util

package
v0.0.0-...-c10a5fe Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocalIP

func LocalIP() string

LocalIP 获取机器的IP

func MapStringToStruct

func MapStringToStruct(m map[string]string, i interface{}) error

func RandomStr

func RandomStr() string

RandomStr 获取一个随机字符串

func XmlToMap

func XmlToMap(xmlData []byte) (map[string]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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