Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyAttributes ¶
CopyAttributes makes a deep copy of the attributes map.
func NormalizeInterfaceAttributes ¶
func NormalizeInterfaceAttributes(value interface{}) interface{}
NormalizeInterfaceAttributes normalises types of an attribute values. The following transformations are applied: int -> int64, float32 -> float64. The normalisation proceeds recursively through maps and slices.
Types ¶
type PathPattern ¶
type PathPattern struct {
// contains filtered or unexported fields
}
func NewPathPattern ¶
func NewPathPattern(pattern string, allowCommas bool) (*PathPattern, error)
func (*PathPattern) Matches ¶
func (pp *PathPattern) Matches(path string) bool
Click to show internal directories.
Click to hide internal directories.