Versions in this module Expand all Collapse all v0 v0.10.0 Jan 29, 2026 Changes in this version + func ConvertToInt64(num any) (int64, error) + func CountErrByName(err *multierror.Error) map[string]int + func HasAny[T any](s T, vals []T, pred func(T, T) bool) bool v0.9.0 Oct 17, 2025 Changes in this version + func CalculateGitlabTTL(duration time.Duration, start time.Time) (ttl time.Duration, exp time.Time, err error) + func ConvertToInt(num any) (int, error) + func HttpClientFromContext(ctx context.Context) (*http.Client, bool) + func HttpClientNewContext(ctx context.Context, httpClient *http.Client) context.Context + func TimeFromContext(ctx context.Context) time.Time + func ToAny[T int | string](values ...T) (ret []any) + func TokenName(role TokenNameData) (name string, err error) + func ValidateTokenNameName(role TokenNameData) (err error) + func WithStaticTime(ctx context.Context, t time.Time) context.Context + type TokenNameData interface + GetName func() string + IsNil func() bool + LogicalResponseData func() map[string]any