Documentation ¶
Index ¶
- Variables
- func ComputeAliases(scope []string) map[string]string
- func Context(ctx context.Context, scope []string) context.Context
- func ContextContains(ctx context.Context, scope string) bool
- func IsValid(s string) bool
- func MatchAlias(s string) string
- func Names() []string
- func Register(name string)
- func Resolve(s string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var AliasRegexp = regexp.MustCompile(`.*\b([a-z0-9-._]+)$`)
Functions ¶
func ComputeAliases ¶
func MatchAlias ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.