util

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 2 Imported by: 80

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringifyBytes

func StringifyBytes(data []byte) string

Types

type PathBuilder added in v0.0.16

type PathBuilder struct {
	// contains filtered or unexported fields
}

func (*PathBuilder) AppendPath added in v0.0.16

func (inst *PathBuilder) AppendPath(path string) *PathBuilder

func (*PathBuilder) AppendSimpleName added in v0.0.16

func (inst *PathBuilder) AppendSimpleName(simpleName string) *PathBuilder

func (*PathBuilder) AppendSimpleNameList added in v0.0.16

func (inst *PathBuilder) AppendSimpleNameList(list []string) *PathBuilder

func (*PathBuilder) Create added in v0.0.16

func (inst *PathBuilder) Create(prefix string, suffix string) (string, error)

func (*PathBuilder) EnableDoubleDot added in v0.0.16

func (inst *PathBuilder) EnableDoubleDot(enable bool) *PathBuilder

func (*PathBuilder) EnableRoot added in v0.0.16

func (inst *PathBuilder) EnableRoot(enable bool) *PathBuilder

func (*PathBuilder) EnableTrim added in v0.0.16

func (inst *PathBuilder) EnableTrim(enable bool) *PathBuilder

func (*PathBuilder) SetSeparator added in v0.0.16

func (inst *PathBuilder) SetSeparator(sep string) *PathBuilder

func (*PathBuilder) String added in v0.0.16

func (inst *PathBuilder) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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