Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureFlag ¶
type FeatureFlag uint64
FeatureFlag is part of the experimental JSONKit API.
const ( // FeatureLineComments is an experimental JSONKit constant. FeatureLineComments FeatureFlag = 1 << iota // FeatureBlockComments is an experimental JSONKit constant. FeatureBlockComments // FeatureTrailingCommas is an experimental JSONKit constant. FeatureTrailingCommas // FeatureSingleQuotes is an experimental JSONKit constant. FeatureSingleQuotes // FeatureUnquotedKeys is an experimental JSONKit constant. FeatureUnquotedKeys )
type Profile ¶
type Profile struct {
ID ProfileID
Enabled FeatureFlag
}
Profile is part of the experimental JSONKit API.
func (Profile) Has ¶
func (p Profile) Has(flag FeatureFlag) bool
Click to show internal directories.
Click to hide internal directories.