Documentation ¶
Index ¶
- func AddSensitive(ctx context.Context, key string, value any) context.Context
- func Atoi(s string) int
- func Ptr[T any](t T) *T
- func ToInt(itf types.Int64) *int
- func ToIntOnDynamic(itf types.Int64, challType types.String) *int
- func ToTFInt64(i *int) types.Int64
- func ToTFString(str *string) types.String
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSensitive ¶ added in v1.0.0
func Atoi ¶
Atoi MUST only be called on trusted input as it won't return an error nor panic after calling `strconv.Atoi`.
func ToIntOnDynamic ¶ added in v1.0.1
ToIntOnDynamic returns the value of itf as an integer pointer iif the challType is dynamic.
func ToTFString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.