Documentation
¶
Index ¶
- func EmptyPointerFloat64() *float64
- func EmptyPointerString() *string
- func GetTestLogger(prefix string) eclog.Logger
- func JSONEqual(a string, b string) bool
- func ToIOReadCloser(v interface{}) io.ReadCloser
- func ToJSONBytes(v interface{}) []byte
- func ToString(v interface{}) string
- func TypeEqual(actual interface{}, expected interface{}) bool
- func URLParse(urlRaw string) *url.URL
- func WrapDurationInPointer(v time.Duration) *time.Duration
- func WrapIntInPointer(v int) *int
- func WrapStringInPointer(v string) *string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmptyPointerFloat64 ¶
func EmptyPointerFloat64() *float64
func EmptyPointerString ¶
func EmptyPointerString() *string
func GetTestLogger ¶
GetTestLoger creates a log file for a test run
func ToIOReadCloser ¶
func ToIOReadCloser(v interface{}) io.ReadCloser
func ToJSONBytes ¶
func ToJSONBytes(v interface{}) []byte
func URLParse ¶
URLParse provides a quick pass-through to url.Parse that will discard errors. This allows us to use in-line url.URLs in new struct declarations
func WrapIntInPointer ¶
func WrapStringInPointer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.