copygen

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

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

Go to latest
Published: Mar 6, 2025 License: AGPL-3.0, MIT-0 Imports: 2 Imported by: 0

Documentation

Overview

Package copygen contains the setup information for copygen generated code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Array

func Array(tb [16]byte, fb [16]byte)

Array copies a [16]byte to a [16]byte.

func ArrayComplex

func ArrayComplex(tC *complex.Collection, fm [16]map[byte]string)

ArrayComplex copies a [16]map[byte]string to a *complex.Collection.

func ArrayExternal

func ArrayExternal(te [16]external.Placeholder, fe [16]external.Placeholder)

ArrayExternal copies a [16]external.Placeholder to a [16]external.Placeholder.

func ArrayExternalComplex

func ArrayExternalComplex(tC *complex.ComplexCollection, fm [16]map[*external.Collection]string)

ArrayExternalComplex copies a [16]map[*external.Collection]string to a *complex.ComplexCollection.

func ArraySimple

func ArraySimple(tC *Collection, fb [16]byte)

ArraySimple copies a [16]byte to a *Collection.

func Basic

func Basic(tb bool, fb bool)

Basic copies a bool to a bool.

func BasicDoublePointer

func BasicDoublePointer(tb **bool, fb *bool)

BasicDoublePointer copies a *bool to a **bool.

func BasicExternal

func BasicExternal(tP external.Placeholder, fP *external.Placeholder)

BasicExternal copies a *external.Placeholder to a external.Placeholder.

func BasicExternalMulti

func BasicExternalMulti(tP external.Placeholder, tP1 *external.Placeholder, fP *external.Placeholder)

BasicExternalMulti copies a *external.Placeholder to a external.Placeholder, *external.Placeholder.

func BasicPointer

func BasicPointer(tb *bool, fb bool)

BasicPointer copies a bool to a *bool.

func BasicPointerMulti

func BasicPointerMulti(tP *Placeholder, tP1 *Placeholder, ts string, fP *Placeholder)

BasicPointerMulti copies a *Placeholder to a *Placeholder, *Placeholder, string.

func BasicSimple

func BasicSimple(tP Placeholder, fP Placeholder)

BasicSimple copies a Placeholder to a Placeholder.

func BasicSimplePointer

func BasicSimplePointer(tP *Placeholder, fP Placeholder)

BasicSimplePointer copies a Placeholder to a *Placeholder.

func Chan

func Chan(tc chan int, fc chan int)

Chan copies a chan int to a chan int.

func ChanComplex

func ChanComplex(tC *complex.Collection, fc chan *[]int)

ChanComplex copies a chan *[]int to a *complex.Collection.

func ChanExternal

func ChanExternal(tc chan external.Placeholder, fc chan external.Placeholder)

ChanExternal copies a chan external.Placeholder to a chan external.Placeholder.

func ChanExternalComplex

func ChanExternalComplex(tC complex.ComplexCollection, fc chan *[]external.Collection)

ChanExternalComplex copies a chan *[]external.Collection to a complex.ComplexCollection.

func ChanSimple

func ChanSimple(tC *Collection, fc chan int)

ChanSimple copies a chan int to a *Collection.

func EmptyStruct

func EmptyStruct(te empty, fs struct{})

EmptyStruct copies a struct{} to a empty.

func Func

func Func(tf func() int, ff func() int)

Func copies a func() int to a func() int.

func FuncComplex

func FuncComplex(tC *complex.Collection, ff func([]string, uint64) *byte)

FuncComplex copies a func([]string, uint64) *byte to a *complex.Collection.

func FuncExternal

func FuncExternal(tf func(external.Placeholder) int, ff func(external.Placeholder) int)

FuncExternal copies a func(external.Placeholder) int to a func(external.Placeholder) int.

func FuncExternalComplex

func FuncExternalComplex(tC *complex.ComplexCollection, ff func(external.Collection) []string)

FuncExternalComplex copies a func(external.Collection) []string to a *complex.ComplexCollection.

func FuncSimple

func FuncSimple(tC *Collection, ff func() int)

FuncSimple copies a func() int to a *Collection.

func Interface

func Interface(ti interface{}, fi interface{})

Interface copies a interface{} to a interface{}.

func InterfaceComplex

func InterfaceComplex(tC *complex.Collection, fi interface{ func(rune) *int })

InterfaceComplex copies a interface{func(rune) *int; } to a *complex.Collection.

func InterfaceExternal

func InterfaceExternal(tC *external.Collection, fe error)

InterfaceExternal copies a error to a *external.Collection.

func InterfaceExternalComplex

func InterfaceExternalComplex(tC complex.ComplexCollection, fi interface {
	func(string) map[*external.Collection]bool
	func() (int, byte)
})

InterfaceExternalComplex copies a interface{func(string) map[*external.Collection]bool; func() (int, byte); } to a complex.ComplexCollection.

func InterfaceSimple

func InterfaceSimple(tC *Collection, fe error)

InterfaceSimple copies a error to a *Collection.

func Map

func Map(tm map[string]bool, fm map[string]bool)

Map copies a map[string]bool to a map[string]bool.

func MapComplex

func MapComplex(tC *complex.Collection, fm map[string]interface{ func() string })

MapComplex copies a map[string]interface{func() string; } to a *complex.Collection.

func MapExternal

func MapExternal(tm map[string]external.Placeholder, fm map[string]external.Placeholder)

MapExternal copies a map[string]external.Placeholder to a map[string]external.Placeholder.

func MapExternalComplex

func MapExternalComplex(tC *complex.ComplexCollection, fm map[*external.Collection]external.Placeholder)

MapExternalComplex copies a map[*external.Collection]external.Placeholder to a *complex.ComplexCollection.

func MapSimple

func MapSimple(tC *Collection, fm map[string]bool)

MapSimple copies a map[string]bool to a *Collection.

func NoMatchArraySimple

func NoMatchArraySimple(tC Collection, fb [16]byte)

NoMatchArraySimple copies a [16]byte to a Collection.

func NoMatchBasic

func NoMatchBasic(tP Placeholder, fP Placeholder)

NoMatchBasic copies a Placeholder to a Placeholder.

func NoMatchBasicAlias

func NoMatchBasicAlias(tP Placeholder, fb bool)

NoMatchBasicAlias copies a bool to a Placeholder.

func NoMatchBasicExternal

func NoMatchBasicExternal(tP external.Placeholder, tP1 *external.Placeholder, tb bool, fP *Placeholder)

NoMatchBasicExternal copies a *Placeholder to a external.Placeholder, *external.Placeholder, bool.

func NoMatchChan

func NoMatchChan(tC Collection, fc chan int)

NoMatchChan copies a chan int to a Collection.

func NoMatchExternal

func NoMatchExternal(te []external.Collection, fe []external.Collection)

NoMatchExternal copies a []external.Collection to a []external.Collection.

func NoMatchFunc

func NoMatchFunc(tC Collection, ff func() int)

NoMatchFunc copies a func() int to a Collection.

func NoMatchInterface

func NoMatchInterface(tC Collection, fe error)

NoMatchInterface copies a error to a Collection.

func NoMatchInterfaceAlias

func NoMatchInterfaceAlias(tC *Collection, fi interface{ func() string })

NoMatchInterfaceAlias copies a interface{func() string; } to a *Collection.

func NoMatchMap

func NoMatchMap(tC Collection, fm map[string]bool)

NoMatchMap copies a map[string]bool to a Collection.

func NoMatchSliceSimple

func NoMatchSliceSimple(tC Collection, fs []string)

NoMatchSliceSimple copies a []string to a Collection.

func Slice

func Slice(ts []string, fs []string)

Slice copies a []string to a []string.

func SliceComplex

func SliceComplex(tC *complex.Collection, fm []map[string][16]int)

SliceComplex copies a []map[string][16]int to a *complex.Collection.

func SliceExternal

func SliceExternal(te []external.Placeholder, fe []external.Placeholder)

SliceExternal copies a []external.Placeholder to a []external.Placeholder.

func SliceExternalComplex

func SliceExternalComplex(tC *complex.ComplexCollection, fm []map[string]func(*external.Collection) string)

SliceExternalComplex copies a []map[string]func(*external.Collection) string to a *complex.ComplexCollection.

func SlicePointer

func SlicePointer(ti []*int, fi []*int)

SlicePointer copies a []*int to a []*int.

func SliceSimple

func SliceSimple(tC *Collection, fs []string)

SliceSimple copies a []string to a *Collection.

func Struct

func Struct(tC Collection, fC Collection)

Struct copies a Collection to a Collection.

func StructExternal

func StructExternal(tC *Collection, fC external.Collection)

StructExternal copies a external.Collection to a *Collection.

Types

type Collection

type Collection struct {
	Arr [16]byte
	S   []string
	M   map[string]bool
	C   chan int
	I   error
	F   func() int
}

type Placeholder

type Placeholder bool

Placeholder represents a basic type.

Directories

Path Synopsis
Package copygen contains the setup information for copygen generated code.
Package copygen contains the setup information for copygen generated code.

Jump to

Keyboard shortcuts

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