Documentation ¶
Index ¶
- func AsSHA256(o interface{}) string
- func Atof64(val string, defaultVal float64) float64
- func Atoi(val string, defaultVal int) int
- func BoolOrDefault(val *bool, defaultVal bool) bool
- func ContainsMovieCategory(cats []string) bool
- func ContainsTvCategory(cats []string) bool
- func JoinURL(base string, paths ...string) string
- func NewRetryableHttpClient(timeout time.Duration, rl ratelimit.Limiter, log *zerolog.Logger) *http.Client
- func StringOrDefault(val string, defaultVal string) string
- func StringSliceContains(slice []string, val string) bool
- func StringSliceContainsAny(slice []string, vals []string) bool
- func StringSliceMergeUnique(existingSlice []string, mergeSlice []string) []string
- func StripNonAlphaNumeric(value string) string
- func StripNonNumeric(value string) string
- func URLWithQuery(base string, q url.Values) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolOrDefault ¶
func ContainsMovieCategory ¶ added in v0.3.2
func ContainsTvCategory ¶ added in v0.3.2
func NewRetryableHttpClient ¶
func StringOrDefault ¶
func StringSliceContains ¶
func StringSliceContainsAny ¶
func StringSliceMergeUnique ¶
func StripNonAlphaNumeric ¶
func StripNonNumeric ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.