 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Rule ¶
type Rule struct {
	Single string   `toml:"tag"`
	List   []string `toml:"tags"`
	Equal          string `toml:"equal"`
	HasPrefix      string `toml:"has-prefix"`
	HasSuffix      string `toml:"has-suffix"`
	Contains       string `toml:"contains"`
	Regexp         string `toml:"regexp"`
	BytesEqual     []byte `toml:"-"`
	BytesHasPrefix []byte `toml:"-"`
	BytesHasSuffix []byte `toml:"-"`
	BytesContains  []byte `toml:"-"`
	Tags           *Set   `toml:"-"`
	// contains filtered or unexported fields
}
    type Rules ¶
type Rules struct {
	Rule []Rule `toml:"rule"`
	// contains filtered or unexported fields
}
    type Set ¶
type Set struct {
	// contains filtered or unexported fields
}
    set with copy-on-write
func (*Set) MarshalJSON ¶
 Click to show internal directories. 
   Click to hide internal directories.