commonUtils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 License: GPL-3.0 Imports: 9 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 GetIp

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

func GetOs

func GetOs() 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 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