Documentation ¶
Index ¶
- func AddAnchor(key, anchorPrefix string) string
- func ContainsCondition(str string) bool
- func IsAddingAnchor(key string) bool
- func IsConditionAnchor(str string) bool
- func IsEqualityAnchor(str string) bool
- func IsExistenceAnchor(str string) bool
- func IsGlobalAnchor(str string) bool
- func IsNegationAnchor(str string) bool
- func IsNonAnchor(str string) bool
- func RemoveAnchor(key string) (string, string)
- func RemoveAnchorsFromPath(str string) string
- type IsAnchor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAnchor ¶ added in v1.3.0
AddAnchor adds an anchor with the supplied prefix. The suffix is assumed to be ")".
func ContainsCondition ¶ added in v1.4.3
ContainsCondition returns true, if str is either condition anchor or global condition anchor
func IsAddingAnchor ¶
IsAddingAnchor checks for addition anchor
func IsConditionAnchor ¶
IsConditionAnchor checks for condition anchor
func IsEqualityAnchor ¶
IsEqualityAnchor checks for equality anchor
func IsExistenceAnchor ¶
IsExistenceAnchor checks for existence anchor
func IsGlobalAnchor ¶ added in v1.4.3
IsGlobalAnchor checks for global condition anchor
func IsNegationAnchor ¶
IsNegationAnchor checks for negation anchor
func IsNonAnchor ¶ added in v1.4.2
IsNonAnchor checks that key does not have any anchor
func RemoveAnchor ¶
RemoveAnchor remove anchor from the given key. It returns the anchor-free tag value and the prefix of the anchor.
func RemoveAnchorsFromPath ¶ added in v1.3.5
RemoveAnchorsFromPath removes all anchor from path string