modulepackage
0.0.0-20240209035712-3c893e6dd5a9
Repository: https://github.com/go-generalize/renamer.git
Documentation: pkg.go.dev
# README
renamer
# Functions
FromPackage is an option to specify the full package path like example.com/user/repo/pkg.StructName.
FromPackage is an option to specify the package name.
New returns a new Renamer.
# Constants
AnnotationPackageKey is the key to specify the package.
AnnotationPackagePathKey is the key to specify the package path.
AnnotationStructKey is the key to specify the struct name.
# Variables
WithPackageName adds the package name to the start of the name.
# Type aliases
Option is a renamer option.