tag

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tag

type Tag struct {
	Name       string
	Attributes map[string]interface{}
}

Tag contains the tag name reference and its atributtes

func Parse

func Parse(s string, supportedNames []string) ([]Tag, error)

Parse tag from following structure name1:"expected=private,test=false" name2:"attr=1"

Jump to

Keyboard shortcuts

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