# Functions
AppName returns the name of the executable that started this program (process).
BatchSliceOfStrings groups the given keys into chunks of size count and streams them into a returned channel.
ChanFromSlice takes a slice of values and returns a channel from which these values can be received.
Checksum returns the SHA-1 checksum of the data.
Ellipsize shortens s to <=limit runes and indicates shortening by "...".
IsContextCanceled returns whether the given error is context.Canceled.
IsDeadlock returns whether the given error signals serialization failure.
IsUnixAddr indicates whether the given host string represents a Unix socket address.
JoinHostPort is like its equivalent in net., but handles UNIX sockets as well.
MaxInt returns the larger of the given integers.
PrintErrorThenExit prints the given error to [os.Stderr] and exits with the specified error code.
Timed calls the given callback with the time that has elapsed since the start.