Versions in this module Expand all Collapse all v3 v3.0.0 Mar 26, 2026 Changes in this version + func Element[T any](s []T) T + func GenerateBase32EncodedString(ctx context.Context, length int) (string, error) + func GenerateBase64EncodedString(ctx context.Context, length int) (string, error) + func GenerateHexEncodedString(ctx context.Context, length int) (string, error) + func GenerateRawBytes(ctx context.Context, length int) ([]byte, error) + func MustGenerateHexEncodedString(ctx context.Context, length int) string + func MustGenerateRawBytes(ctx context.Context, length int) []byte + func RegisterGenerator(i do.Injector) + type Generator interface + GenerateBase32EncodedString func(context.Context, int) (string, error) + GenerateBase64EncodedString func(context.Context, int) (string, error) + GenerateHexEncodedString func(ctx context.Context, length int) (string, error) + GenerateRawBytes func(context.Context, int) ([]byte, error) + func NewGenerator(logger logging.Logger, tracerProvider tracing.TracerProvider) Generator Other modules containing this package github.com/verygoodsoftwarenotvirus/platform github.com/verygoodsoftwarenotvirus/platform/v2 github.com/verygoodsoftwarenotvirus/platform/v4 github.com/verygoodsoftwarenotvirus/platform/v5