Documentation ¶
Index ¶
- Constants
- func BytesIncBigEndian(b []byte)
- func BytesIncLittleEndian(b []byte)
- func Change(from interface{}, to interface{}, keyFunc func(elem interface{}) string) (toRemove interface{}, toAdd interface{})
- func HasTopDomain(domain string) bool
- func HomeExpand(path string) (string, error)
- func Max(a, b int) int
- func Min(a, b int) int
- func MustMapKeys(m interface{}) (keys []string)
- func SeedSecurely() (err error)
- func StarMatch(expr string, str string) bool
- func ToIPNets(cidr []string) (nets []*net.IPNet, err error)
Constants ¶
View Source
const Alphabet = "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM0123456789"
Variables ¶
This section is empty.
Functions ¶
func BytesIncBigEndian ¶
func BytesIncBigEndian(b []byte)
func BytesIncLittleEndian ¶
func BytesIncLittleEndian(b []byte)
func Change ¶
func Change(from interface{}, to interface{}, keyFunc func(elem interface{}) string) (toRemove interface{}, toAdd interface{})
Change returns how to change "from" slice to "to" slice by removing and adding elements. Elements from "from" and "to" should be unique.
func HasTopDomain ¶
func HomeExpand ¶
func MustMapKeys ¶
func MustMapKeys(m interface{}) (keys []string)
func SeedSecurely ¶
func SeedSecurely() (err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.