Versions in this module Expand all Collapse all v0 v0.0.1 Oct 22, 2022 Changes in this version + func Exported(name string) string + func Unexported(name string) string + type OptFunc func(*Scope) + func WithSafeNameFunc(f SafeNameFunc) OptFunc + func WithSuggestVarNameFunc(f SuggestVarNameFunc) OptFunc + func WithUniqueNameFunc(f UniqueNameFunc) OptFunc + type SafeNameFunc func(name string) string + type Scope struct + func New(opts ...OptFunc) (ret *Scope) + func (s *Scope) Claim(name string) string + func (s *Scope) ClaimGlobal(name string) string + func (s *Scope) New(opts ...OptFunc) (ret *Scope) + func (s *Scope) Suggest(input string) string + type SuggestVarNameFunc func(input string) string + type UniqueNameFunc func(s *Scope, name string, recursive bool) string