aboutsummaryrefslogtreecommitdiff
path: root/config/kind.go
blob: 01d325ecf30c70f2efd8b1b5c0e4924988408a98 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package config

// Kind describes the presence and form of a config value.
type Kind uint8

const (
	// KindMissing means the queried key does not exist.
	KindMissing Kind = iota

	// KindValueless means the key exists but has no "= <value>" part.
	KindValueless

	// KindString means the key exists and has an explicit value (possibly "").
	KindString
)