Documentation ¶
Overview ¶
Package util provides some useful functions that don't fit anywhere else.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPClient ¶
NewHTTPClient allocates a preconfigured *http.Client
func StringChunkDelimited ¶ added in v0.1.6
StringChunkDelimited is used to split a multiline string into strings with a max size defined as chunkSize. A string of len > chunkSize will not be split.
func StringToFloat64 ¶ added in v0.1.5
StringToFloat64 converts a string to a float64, returning a default values on conversion error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.