deepcopy

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(
	isPtrRecv bool, methodName string, skipLists SkipLists, maxDepth int, allowedCopyToAnotherStruct bool,
	returnInterface, returnInterfaceDep, returnInterfaceDepPath string,
	buildTags []string,
) Generator

func (Generator) Generate

func (g Generator) Generate(w io.Writer, types []string, p *packages.Package) error

type SkipLists

type SkipLists []map[string]struct{}

func (SkipLists) Get

func (l SkipLists) Get(i int) (s skips)

Jump to

Keyboard shortcuts

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