Documentation ¶
Overview ¶
Package util contains utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶
ContainsString returns true, if the the string array sa contains the string s. Otherwise, it returns false.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package ascii85 implements ascii85 encoding related utility functions.
|
Package ascii85 implements ascii85 encoding related utility functions. |
Package base64 implements base64 encoding related utility functions.
|
Package base64 implements base64 encoding related utility functions. |
Package bzero defines helper functions to zero sensitive memory.
|
Package bzero defines helper functions to zero sensitive memory. |
Package cloudflare consumes the Cloudflare API (https://api.cloudflare.com/).
|
Package cloudflare consumes the Cloudflare API (https://api.cloudflare.com/). |
Package def defines default values used in Codechain.
|
Package def defines default values used in Codechain. |
Package file implements file related utility functions.
|
Package file implements file related utility functions. |
Package git contains wrappers around some Git commands.
|
Package git contains wrappers around some Git commands. |
Package gnumake contains wrappers around some GNU make commands.
|
Package gnumake contains wrappers around some GNU make commands. |
Package hex implements hex encoding related utility functions.
|
Package hex implements hex encoding related utility functions. |
Package home provides utility methods for application specific home directories.
|
Package home provides utility methods for application specific home directories. |
Package homedir implements helper methods to get the home directories of various tools.
|
Package homedir implements helper methods to get the home directories of various tools. |
Package interrupt allows to handle interrupts.
|
Package interrupt allows to handle interrupts. |
Package lockfile implements a lock to limit a binary to one process per anchor file.
|
Package lockfile implements a lock to limit a binary to one process per anchor file. |
Package log implements a minimal logging framework based on stdlib's log.
|
Package log implements a minimal logging framework based on stdlib's log. |
Package seckey implements helper functions for secret key files.
|
Package seckey implements helper functions for secret key files. |
Package terminal provides utility function to read from terminals.
|
Package terminal provides utility function to read from terminals. |
Package time implements time related utility functions.
|
Package time implements time related utility functions. |
Click to show internal directories.
Click to hide internal directories.