naming

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizeName

func SanitizeName(name string) string

Types

type NameEntry

type NameEntry struct {
	Name  string
	Token string
}

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

func NewResolver

func NewResolver(baseDir string) *Resolver

func (*Resolver) ResolveNames

func (r *Resolver) ResolveNames(entries []NameEntry) map[string]string

func (*Resolver) TokenForName

func (r *Resolver) TokenForName(filename string) (string, bool)

Jump to

Keyboard shortcuts

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