environmenter

package
v1.0.31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sub

func Sub(s string) string

func SubWithArgs

func SubWithArgs(s string, args ...ConfigArg) string

func SubWithConfig

func SubWithConfig(s string, config Config) string

Types

type Config

type Config struct {
	Patterns []string
}

type ConfigArg

type ConfigArg func(*Config)

func Pattern

func Pattern(p string) ConfigArg

func Patterns

func Patterns(ps []string) ConfigArg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL