Documentation
¶
Index ¶
- Constants
- func DecodeResults[T any](decoder *json.Decoder) (T, error)
- func JsonDecoderToBooleanSlice(dec *json.Decoder) ([]bool, error)
- func JsonDecoderToIntSlice(dec *json.Decoder) ([]int, error)
- func JsonDecoderToString(dec *json.Decoder) (string, error)
- func JsonDecoderToStringSlice(dec *json.Decoder) ([]string, error)
- func NullableTimeToStringMap(dict map[string]*time.Time, format string) map[string]*string
- func PrepareQueryParams(queryParams url.Values, data map[string]interface{}) url.Values
- func TimeToStringMap(dict map[string]time.Time, format string) map[string]string
- func TimeToStringSlice(slice []time.Time, format string) []string
- func ToNullableTimeMap(dict interface{}, format string) (map[string]*time.Time, error)
- func ToTimeMap(dict interface{}, format string) (map[string]time.Time, error)
- func ToTimeSlice(slice interface{}, format string) ([]time.Time, error)
- func UpdateUserAgent(userAgent string) string
Constants ¶
const DEFAULT_DATE = "2006-01-02"
Variables ¶
This section is empty.
Functions ¶
func NullableTimeToStringMap ¶
NullableTimeToStringMap is used to make a nullable string map from a time.Time map.
func PrepareQueryParams ¶
func TimeToStringMap ¶
TimeToStringMap is used to make a string map from a time.Time map.
func TimeToStringSlice ¶
TimeToStringSlice is used to make a string slice from a time.Time slice.
func ToNullableTimeMap ¶
ToNullableTimeMap is used to make a nullable time.Time map from a string map.
func ToTimeSlice ¶
ToTimeSlice is used to make a time.Time slice from a string slice.
func UpdateUserAgent ¶
Types ¶
This section is empty.