validate

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	// contains filtered or unexported fields
}

func BillingRef

func BillingRef() *Validator

func ProjectID

func ProjectID() *Validator

func ProjectName

func ProjectName() *Validator

func StringWith

func StringWith(fn func(string) error, description string) *Validator

func UUID

func UUID() *Validator

func (*Validator) Description

func (v *Validator) Description(ctx context.Context) string

func (*Validator) MarkdownDescription

func (v *Validator) MarkdownDescription(ctx context.Context) string

func (*Validator) Validate

Jump to

Keyboard shortcuts

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