commons

package
v0.0.0-...-a407490 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRandomKey

func GenerateRandomKey(length int) (string, error)

func ValidateCPF

func ValidateCPF(cpf string) bool

func ValidateData

func ValidateData(data interface{}) error

func WriteJSONResponse

func WriteJSONResponse(w http.ResponseWriter, statusCode int, data interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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