validation

package
v1.0.0-beta.14 Latest Latest
Warning

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

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

Documentation

Overview

Package validation provides format validation functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAccessKey

func IsAccessKey(s string) bool

IsAccessKey returns true if the given string has a valid Scaleway access key format.

func IsEmail

func IsEmail(v string) bool

IsEmail returns true if the given string has an email format.

func IsOrganizationID

func IsOrganizationID(s string) bool

IsOrganizationID returns true if the given string has a valid Scaleway organization ID format.

func IsProjectID

func IsProjectID(s string) bool

IsProjectID returns true if the given string has a valid Scaleway project ID format.

func IsRegion

func IsRegion(s string) bool

IsRegion returns true if the given string has a valid region format.

func IsSecretKey

func IsSecretKey(s string) bool

IsSecretKey returns true if the given string has a valid Scaleway secret key format.

func IsURL

func IsURL(s string) bool

IsURL returns true if the given string has a valid URL format.

func IsUUID

func IsUUID(s string) bool

IsUUID returns true if the given string has a valid UUID format.

func IsZone

func IsZone(s string) bool

IsZone returns true if the given string has a valid zone format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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