tag

package
v0.0.0-...-e46c3b8 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterValidator

func RegisterValidator(validate *validator.Validate)

RegisterValidator registers field validator.

func Tags

func Tags(tags []Tag) []string

Tags returns tag values.

Types

type Tag

type Tag struct {
	Value    string            `json:"value" bson:"value" validate:"tag"`
	Priority priority.Priority `json:"priority" bson:"priority"`
}

Tag represents tag data.

Jump to

Keyboard shortcuts

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