Try to fix go linter: exported constant comment (#3026)

The linter wants the comment on an exported constant to
begin with the name of the constant.
This commit is contained in:
David Neto 2019-11-08 14:12:39 -05:00 коммит произвёл GitHub
Родитель c5e6761ac8
Коммит 3e4abc9ac3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -70,10 +70,12 @@ type Parameter struct {
type Quantifier string
const (
// The quantified term may appear exactly once.
Once Quantifier = ""
// The quantified term may appear zero or one time; an optional term.
// Once indicates the quantified term may appear exactly once.
Once Quantifier = ""
// ZeroOrOnce indicates the quantified term may appear zero or one
// time; an optional term.
ZeroOrOnce Quantifier = "?"
// The quantified term may appear any number of times.
// ZeroOrMany indicates the quantified term may appear any number of
// times.
ZeroOrMany Quantifier = "*"
)