helper

package
v0.0.0-...-d14a228 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: MIT Imports: 4 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 {
	Pkg              *types.Package
	Struct           *types.Struct
	DeepCopyName     string
	DeepCopyIntoName string
	Skip             func(f *types.Var) bool
	OnLocalDep       func(named *types.Named)
	FieldContext     func(f *types.Var) *FieldContext
}

func (*StructFieldsCopy) Frag

func (sfc *StructFieldsCopy) Frag(ctx context.Context) iter.Seq[string]

func (*StructFieldsCopy) IsNil

func (sfc *StructFieldsCopy) IsNil() bool

Jump to

Keyboard shortcuts

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