Fix Go lint issues: comment exported symbols (#3014)

This commit is contained in:
David Neto 2019-11-05 17:41:10 -05:00 committed by GitHub
parent 3724cfbea8
commit d9fbf02348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,10 +66,14 @@ type Parameter struct {
Name string `json:"name"`
}
// Quantifier indicates the number of times the quantified term may appear.
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.
ZeroOrOnce Quantifier = "?"
// The quantified term may appear any number of times.
ZeroOrMany Quantifier = "*"
)