helper

package
v0.0.0-...-5b2d016 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldContext

type FieldContext struct {
	InSamePkg        bool
	HasDeepCopy      bool
	HasDeepCopyInto  bool
	PtrResultOrParam bool
}

type StructFieldsCopy

type StructFieldsCopy struct {
	DeepCopyName     string
	DeepCopyIntoName string
	Struct           *types.Struct
	Skip             func(f *types.Var) bool
	OnLocalDep       func(named *types.Named)
	FieldContext     func(f *types.Var) *FieldContext
}

func (*StructFieldsCopy) Snippet

func (sfc *StructFieldsCopy) Snippet(c gengo.Context, pkg *types.Package) func(sw gengo.SnippetWriter)

Jump to

Keyboard shortcuts

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