Documentation
¶
Index ¶
- Variables
- func Add(a, b int64) int64
- func Basename(path string, extensions ...string) string
- func CIDRNext(cidr uint8, lowest, count, inc int8, addr []int64) []int64
- func Cleanse(r string) func(string) string
- func Cleanser(r, s string) string
- func CommandLine() string
- func Debug(any ...interface{}) string
- func Debugger() (func() bool, func() bool)
- func DecToInt(arr []string) []int64
- func Div(a, b int64) int64
- func Environment(n string) string
- func FromInt(format string, arr []int64) []string
- func HexToInt(arr []string) []int64
- func IP4Add(group uint8, lowest, count uint8, inc int8, addr []int64) []int64
- func IP4Inc(group uint8, inc int8, addr string) string
- func IP4Join(addr []int64) string
- func IP4Next(group uint8, lowest, count uint8, addr string) string
- func IP4Prev(group uint8, lowest, count uint8, addr string) string
- func IP6Add(group uint8, lowest, count uint16, inc int16, addr []int64) []int64
- func IP6Inc(group uint8, inc int16, addr string) string
- func IP6Join(addr []int64) string
- func IP6Next(group uint8, lowest, count uint16, addr string) string
- func IP6Prev(group uint8, lowest, count uint16, addr string) string
- func IPAdd(bits int32, group uint8, lowest, count uint16, inc int16, addr []int64) []int64
- func IPCalc(bits int32, lowest, count, inc, value int64) int64
- func IPInts(addr string) []int64
- func IPMath(math, addr string) string
- func IPSplit(addr string) []string
- func Index(i int, a interface{}) interface{}
- func IntParser(base int) func(s string) (int64, error)
- func Join(sep string, arr []string) (s string)
- func KeySequencer() func(string) int64
- func Mod(a, b int64) int64
- func Mul(a, b int64) int64
- func New(options ...Optional) template.FuncMap
- func Pause(t int64) time.Time
- func Rand() int64
- func ReInitcap(s string) string
- func ReReplace(n int, old, new, s string) string
- func ReTrim(cut, s string) string
- func ReTrimLeft(cut, s string) string
- func ReTrimRight(cut, s string) string
- func SafeDiv(a, b int64) int64
- func Sequencer() func() int64
- func Split(sep, s string) []string
- func Starter() func() time.Time
- func Step(a int64, is ...int) int64
- func Sub(a, b int64) int64
- func Substr(start, end int, s string) string
- func ToInt(base int, arr []string) []int64
- type Optional
Constants ¶
This section is empty.
Variables ¶
View Source
var Map = template.FuncMap{}
Functions ¶
func CommandLine ¶ added in v1.1.0
func CommandLine() string
Reproduce a command line string that reflects a usable command line.
func Environment ¶ added in v1.1.0
func IP4Add ¶ added in v1.1.0
Given a zero-based, left-to-right IP group index, lowest value, count, and increment, increment the group, cyclically.
func IP6Add ¶ added in v1.1.0
given a group, lowest, count, and increment, increment the group, circling around
func IPAdd ¶ added in v1.1.0
Given a zero-based, left-to-right IP group index, lowest value, count, and increment, increment the group, cyclically.
func IPMath ¶ added in v1.1.0
Performs IP math using a simple sequence of operations. e.g. _.[+2]._.[+1,%10]
func ReTrimLeft ¶ added in v1.1.0
func ReTrimRight ¶ added in v1.1.0
Types ¶
type Optional ¶ added in v1.1.0
type Optional func(*opt)
func WithClock ¶ added in v1.1.0
func WithClock(timeFunc clock.TimeFunction) Optional
func WithRightmostOverrides ¶ added in v1.1.0
func WithRightmostOverrides() Optional
Click to show internal directories.
Click to hide internal directories.