commonUtils

package
v0.0.0-...-66d4e42 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSlashForUrl

func AddSlashForUrl(url string) string

func Base

func Base(pathStr string) string

func BoolToPass

func BoolToPass(b bool) string

func GetDebugParamForRun

func GetDebugParamForRun(args []string) (debug string, ret []string)

func GetFieldVal

func GetFieldVal(config model.Config, key string) string

func GetIp

func GetIp() string

func GetOs

func GetOs() string

func IgnoreFile

func IgnoreFile(path string) bool

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 SetFieldVal

func SetFieldVal(config *model.Config, key string, val 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