Documentation
¶
Overview ¶
Helper functions for handling conversions between types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringToFloat64 ¶
Converts string to float64. Returns NaN if error detected.
func StringToInt ¶
Converts string to int. Returns 0 if error detected.
func StringToTime ¶
Converts string to time.Time object. Time format:
"2006-01-02T15:04:05.000000Z07"
func TimeToString ¶
Converts time.Time object to string. Time format:
"2006-01-02T15:04:05.000000Z07"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.