Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReplacement ¶
Types ¶
type ReplaceChain ¶ added in v0.3.0
type ReplaceChain struct {
// contains filtered or unexported fields
}
func NewChain ¶
func NewChain(replacements ...replacement) *ReplaceChain
func (*ReplaceChain) Apply ¶ added in v0.3.0
func (c *ReplaceChain) Apply(s string) string
func (*ReplaceChain) Copy ¶ added in v0.3.0
func (c *ReplaceChain) Copy() *ReplaceChain
func (*ReplaceChain) Extend ¶ added in v0.3.0
func (c *ReplaceChain) Extend(replacements ...replacement) *ReplaceChain
Click to show internal directories.
Click to hide internal directories.