Documentation ¶
Overview ¶
Helper functions for handling conversions between types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringToFloat64 ¶
Convert string to Float64. Any character is treated as decimal separator.
func StringToInt ¶
Convert string to Int. If decimal number is given, will round the result down.
func StringToInt64 ¶ added in v0.26.5
Convert string to Int64. If decimal number is given, will round the result down.
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.