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:
Родитель
c5e6761ac8
Коммит
3e4abc9ac3
|
@ -70,10 +70,12 @@ type Parameter struct {
|
|||
type Quantifier string
|
||||
|
||||
const (
|
||||
// The quantified term may appear exactly once.
|
||||
// Once indicates the quantified term may appear exactly once.
|
||||
Once Quantifier = ""
|
||||
// The quantified term may appear zero or one time; an optional term.
|
||||
// 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 = "*"
|
||||
)
|
||||
|
|
Загрузка…
Ссылка в новой задаче