Documentation ¶ Index ¶ func Sub(s string, args ...ConfigArg) string func SubWithConfig(s string, config Config) string type Config type ConfigArg func Pattern(p string) ConfigArg func Patterns(ps []string) ConfigArg Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Sub ¶ func Sub(s string, args ...ConfigArg) string func SubWithConfig ¶ func SubWithConfig(s string, config Config) string Types ¶ type Config ¶ type Config struct { Patterns optioner.Option[[]string] } type ConfigArg ¶ type ConfigArg func(*Config) func Pattern ¶ func Pattern(p string) ConfigArg func Patterns ¶ func Patterns(ps []string) ConfigArg Source Files ¶ View all Source files environment_variables.go Click to show internal directories. Click to hide internal directories.