validation

package
v0.0.0-...-949e47c Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package validation contains helper methods for validation purposes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckNotEmpty

func CheckNotEmpty(attribute string, attributeName string) error

CheckNotEmpty returns an error if the given attribute is empty.

func CheckPositive

func CheckPositive(attribute int, attributeName string) error

CheckPositive returns an error if the given value is less or equal than zero.

Types

This section is empty.

Jump to

Keyboard shortcuts

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