plugin

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

For each message there is one validator function, inside the functions , for each field there is a condition.

Rules:

Equal extensions:

  • equal
  • equal_all

VerboseEqual extensions:

  • verbose_equal
  • verbose_equal_all

Index

Constants

View Source
const UUIDRegEx = "^([a-fA-F0-9]{8}-" +
	"[a-fA-F0-9]{4}-" +
	"[%s][a-fA-F0-9]{3}-" +
	"[8|9|aA|bB][a-fA-F0-9]{3}-" +
	"[a-fA-F0-9]{12})?$"

UUIDRegEx , the pattern of uuid regex.

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin(useGogoImport bool) generator.Plugin

Types

This section is empty.

Jump to

Keyboard shortcuts

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