Discover Packages
github.com/tanalam2411/code-generator
pkg
namer
package
Version:
v0.21.0-alpha.1...-f969c93
Opens a new window with list of versions in this module.
Published: Jan 16, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
NewTagOverrideNamer creates a namer.Namer which uses the contents of the given tag as
the name, or falls back to another Namer if the tag is not present.
type TagOverrideNamer struct {
}
TagOverrideNamer is a namer which pulls names from a given tag, if specified,
and otherwise falls back to a different namer.
Name returns the tag value if it exists. It no tag was found the fallback namer will be used
Source Files
¶
Click to show internal directories.
Click to hide internal directories.