helper/schema: update docs

This commit is contained in:
Mitchell Hashimoto 2014-08-24 16:53:27 -07:00
parent 31cc3ffca1
commit 95bd64132b
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ type Schema struct {
// If one of these is set, then this item can come from the configuration. // If one of these is set, then this item can come from the configuration.
// Both cannot be set. If Optional is set, the value is optional. If // Both cannot be set. If Optional is set, the value is optional. If
// Required is set, the value is required. // Required is set, the value is required.
//
// One of these must be set if the value is not computed. That is:
// value either comes from the config, is computed, or is both.
Optional bool Optional bool
Required bool Required bool