internal

package
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cast

func Cast[T any](from any) (T, error)

Cast casts a value into another type.

func NewValidator

func NewValidator() (*validator.Validate, error)

NewValidator returns a new instance of 'Validator' prepared with custom validator methods.

func TryReadCloserToString

func TryReadCloserToString(readCloser io.ReadCloser) string

TryReadCloserToString reads the content of an io.ReadCloser into a string.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL