Registry / utility / azure-go-autorest-autorest-validation

azure-go-autorest-autorest-validation

JSON →
librarygogounverified

Package validation provides methods for validating parameter value using reflection.

go get github.com/Azure/go-autorest/autorest/validation
INSTALL
IMPORT
SIG · AZURE-GO-AUTOREST-
A
azure-go-autorest-autorest-validation
utilitygo
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

validation
github.com/Azure/go-autorest/autorest/validation

Validates that a string is not empty.

package main import ( "fmt" "github.com/Azure/go-autorest/autorest/validation" ) func main() { v := validation.StringNotEmpty("name", "value") if err := v.Validate(); err != nil { fmt.Println(err) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
8
OpenAI (training)
2
Meta
1
Amazon
1
Resources
azure-go-autorest-autorest-validation — go get azure-go-autorest-autorest-validation · libregistry