You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
weishi/vendor/github.com/vmihailenco/tagparser/v2
李光春 c1b53452eb
- update vendor
2 years ago
..
internal - update vendor 2 years ago
.travis.yml - update vendor 2 years ago
LICENSE - update vendor 2 years ago
Makefile - update vendor 2 years ago
README.md - update vendor 2 years ago
tagparser.go - update vendor 2 years ago

README.md

Opinionated Golang tag parser

Build Status GoDoc

Installation

Install:

go get github.com/vmihailenco/tagparser/v2

Quickstart

func ExampleParse() {
	tag := tagparser.Parse("some_name,key:value,key2:'complex value'")
	fmt.Println(tag.Name)
	fmt.Println(tag.Options)
	// Output: some_name
	// map[key:value key2:'complex value']
}