const tagEnabledName …
const interfacesTagName …
const interfacesNonPointerTagName …
const tagValuePackage …
type enabledTagValue …
func extractEnabledTypeTag(t *types.Type) *enabledTagValue { … }
func extractEnabledTag(comments []string) *enabledTagValue { … }
func deepCopyNamer() *namer.NameStrategy { … }
func NameSystems() namer.NameSystems { … }
func DefaultNameSystem() string { … }
func GetTargets(context *generator.Context, args *args.Args) []generator.Target { … }
type genDeepCopy …
func NewGenDeepCopy(outputFilename, targetPackage string, boundingDirs []string, allTypes, registerTypes bool) generator.Generator { … }
func (g *genDeepCopy) Namers(c *generator.Context) namer.NameSystems { … }
func (g *genDeepCopy) Filter(c *generator.Context, t *types.Type) bool { … }
func deepCopyMethod(t *types.Type) (*types.Signature, error) { … }
func deepCopyMethodOrDie(t *types.Type) *types.Signature { … }
func deepCopyIntoMethod(t *types.Type) (*types.Signature, error) { … }
func deepCopyIntoMethodOrDie(t *types.Type) *types.Signature { … }
func copyableType(t *types.Type) bool { … }
func underlyingType(t *types.Type) *types.Type { … }
func (g *genDeepCopy) isOtherPackage(pkg string) bool { … }
func (g *genDeepCopy) Imports(c *generator.Context) (imports []string) { … }
func argsFromType(ts ...*types.Type) generator.Args { … }
func (g *genDeepCopy) Init(c *generator.Context, w io.Writer) error { … }
func (g *genDeepCopy) needsGeneration(t *types.Type) bool { … }
func extractInterfacesTag(t *types.Type) []string { … }
func extractNonPointerInterfaces(t *types.Type) (bool, error) { … }
func (g *genDeepCopy) deepCopyableInterfacesInner(c *generator.Context, t *types.Type) ([]*types.Type, error) { … }
func (g *genDeepCopy) deepCopyableInterfaces(c *generator.Context, t *types.Type) ([]*types.Type, bool, error) { … }
type TypeSlice …
func (s TypeSlice) Len() int { … }
func (s TypeSlice) Less(i, j int) bool { … }
func (s TypeSlice) Swap(i, j int) { … }
func (s TypeSlice) Sort() { … }
func (g *genDeepCopy) GenerateType(c *generator.Context, t *types.Type, w io.Writer) error { … }
func isReference(t *types.Type) bool { … }
func (g *genDeepCopy) generateFor(t *types.Type, sw *generator.SnippetWriter) { … }
func (g *genDeepCopy) doBuiltin(t *types.Type, sw *generator.SnippetWriter) { … }
func (g *genDeepCopy) doMap(t *types.Type, sw *generator.SnippetWriter) { … }
func (g *genDeepCopy) doSlice(t *types.Type, sw *generator.SnippetWriter) { … }
func (g *genDeepCopy) doStruct(t *types.Type, sw *generator.SnippetWriter) { … }
func (g *genDeepCopy) doPointer(t *types.Type, sw *generator.SnippetWriter) { … }