Documentation ¶
Overview ¶
Copyright (c) 2020 Khramtsov Aleksei (seniorGolang@gmail.com). This file (tagScanner.go at 14.05.2020, 2:13) is subject to the terms and conditions defined in file 'LICENSE', which is part of this project source code.
Copyright (c) 2020 Khramtsov Aleksei (seniorGolang@gmail.com). This file (tags.go at 14.05.2020, 3:45) is subject to the terms and conditions defined in file 'LICENSE', which is part of this project source code.
Copyright (c) 2020 Khramtsov Aleksei (seniorGolang@gmail.com). This file (unquote.go at 14.05.2020, 2:20) is subject to the terms and conditions defined in file 'LICENSE', which is part of this project source code.
Index ¶
- Variables
- func TagScanner(tagString string) (tags map[string]string, err error)
- type DocTags
- func (tags DocTags) Contains(word string) (found bool)
- func (tags DocTags) IsSet(tagName string) (found bool)
- func (tags DocTags) MarshalJSON() (bytes []byte, err error)
- func (tags DocTags) Merge(t DocTags) DocTags
- func (tags DocTags) Set(tagName string, values ...string)
- func (tags DocTags) Sub(prefix string) (subTags DocTags)
- func (tags DocTags) ToDocs() (docs []string)
- func (tags DocTags) ToKeys(tagName, separator string, defValue ...string) map[string]int
- func (tags DocTags) ToMap(tagName, separator, splitter string, defValue ...string) (m map[string]string)
- func (tags DocTags) Value(tagName string, defValue ...string) (value string)
- func (tags DocTags) ValueBool(tagName string, defValue ...bool) (value bool)
- func (tags DocTags) ValueInt(tagName string, defValue ...int) (value int)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnterminatedString = errors.New("unterminated string")
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.