schema/field: change NamedValues documentation (#1591)

This commit is contained in:
Ariel Mashraki
2021-05-23 12:12:00 +03:00
committed by GitHub
parent ca6d15d64d
commit af73543265

View File

@@ -708,9 +708,9 @@ func (b *enumBuilder) Values(values ...string) *enumBuilder {
//
// field.Enum("priority").
// NamedValues(
// "LOW", "low",
// "MID", "mid",
// "HIGH", "high",
// "Low", "LOW",
// "Mid", "MID",
// "High", "HIGH",
// )
//
func (b *enumBuilder) NamedValues(namevalue ...string) *enumBuilder {