_commonUtils

package
v0.0.0-...-054b70b Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base

func Base(pathStr string) string

func BeanCopy

func BeanCopy(toValue interface{}, fromValue interface{})

func GetHostName

func GetHostName() (name string)

func GetIp

func GetIp() (net.IP, net.HardwareAddr, string)

func GetOs

func GetOs() string

func GetUserHome

func GetUserHome() string

func IntToStrArr

func IntToStrArr(intArr []int) (strArr []string)

func IsLinux

func IsLinux() bool

func IsMac

func IsMac() bool

func IsRelease

func IsRelease() bool

func IsWin

func IsWin() bool

func LinkedMapToMap

func LinkedMapToMap(mp maps.Map) map[string]string

func NewSliceValue

func NewSliceValue(vals []string, p *[]string) *sliceValue

func RemoveBlankLine

func RemoveBlankLine(str string) string

func UintToStrArr

func UintToStrArr(intArr []uint) (strArr []string)

func UpdateUrl

func UpdateUrl(url 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