util

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPathSeparatorIfAbsent

func AddPathSeparatorIfAbsent(path string) string

func Diff

func Diff(a map[string]interface{}, b map[string]interface{}) map[string]interface{}

func GetCurrentDirectory

func GetCurrentDirectory() string

func IsBlank

func IsBlank(s string) bool

IsBlank checks whether the given string is blank.

func PPP

func PPP(key string, in interface{})

Types

type Strings

type Strings []string

func Split

func Split(raw string, sep string) Strings

func (Strings) Head

func (ss Strings) Head() string

func (Strings) Head2

func (ss Strings) Head2() (h0, h1 string)

func (Strings) Head3

func (ss Strings) Head3() (h0, h1, h2 string)

func (Strings) Head4

func (ss Strings) Head4() (h0, h1, h2, h3 string)

func (Strings) HeadT

func (ss Strings) HeadT() (string, Strings)

Jump to

Keyboard shortcuts

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