util

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPtr

func BoolPtr(b bool) *bool

func CompareBoolPtr

func CompareBoolPtr(a, b *bool) bool

func CompareIStringPtr

func CompareIStringPtr(a, b *string) bool

func CompareStringPtr

func CompareStringPtr(a, b *string) bool

func LimitString

func LimitString(n string, lim int) string

func PartialMapCompare

func PartialMapCompare(m1, m2 map[string]string, keys []string) bool

func SHAString

func SHAString(n string) string

func SanitizeName

func SanitizeName(n string) string

func StringSliceContains added in v0.1.6

func StringSliceContains(arr []string, s string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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