copygen

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: GPL-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 added in v0.3.2

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

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

func ArrayExternal added in v0.3.2

func ArrayExternal(tP [16]Placeholder, fP [16]Placeholder)

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

func ArrayExternalComplex added in v0.3.2

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

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

func ArraySimple added in v0.3.2

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

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

func Basic added in v0.3.2

func Basic(tb bool, fb bool)

Basic copies a bool to a bool.

func BasicDoublePointer added in v0.3.3

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

BasicDoublePointer copies a *bool to a **bool.

func BasicExternal added in v0.3.2

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

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

func BasicExternalMulti added in v0.3.2

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

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

func BasicPointer added in v0.3.2

func BasicPointer(tb *bool, fb bool)

BasicPointer copies a bool to a *bool.

func BasicPointerMulti added in v0.3.2

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

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

func BasicSimple added in v0.3.2

func BasicSimple(tP Placeholder, fP Placeholder)

BasicSimple copies a Placeholder to a Placeholder.

func BasicSimplePointer added in v0.3.3

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 added in v0.3.2

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

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

func ChanExternal added in v0.3.2

func ChanExternal(tc chan Placeholder, fc chan Placeholder)

ChanExternal copies a chan Placeholder to a chan Placeholder.

func ChanExternalComplex added in v0.3.2

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

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

func ChanSimple added in v0.3.2

func ChanSimple(tC *Collection, fc chan int)

ChanSimple copies a chan int to a *Collection.

func EmptyStruct added in v0.3.3

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 added in v0.3.2

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

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

func FuncExternal added in v0.3.2

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

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

func FuncExternalComplex added in v0.3.2

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

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

func FuncSimple added in v0.3.2

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 added in v0.3.3

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

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

func InterfaceExternal added in v0.3.3

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

InterfaceExternal copies a error to a *external.Collection.

func InterfaceExternalComplex added in v0.3.3

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

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

func InterfaceSimple added in v0.3.3

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 added in v0.3.3

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 added in v0.3.2

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

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

func MapExternalComplex added in v0.3.2

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

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

func MapSimple added in v0.3.2

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

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

func NoMatchArraySimple added in v0.3.2

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

NoMatchArraySimple copies a [16]byte to a Collection.

func NoMatchBasic added in v0.3.2

func NoMatchBasic(tP Placeholder, fP Placeholder)

NoMatchBasic copies a Placeholder to a Placeholder.

func NoMatchBasicExternal added in v0.3.2

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 added in v0.3.2

func NoMatchChan(tC Collection, fc chan int)

NoMatchChan copies a chan int to a Collection.

func NoMatchComplex added in v0.3.3

func NoMatchComplex(tC []Collection, fC []Collection)

NoMatchComplex copies a []Collection to a []Collection.

func NoMatchFunc added in v0.3.3

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

NoMatchFunc copies a func() int to a Collection.

func NoMatchInterface added in v0.3.3

func NoMatchInterface(tC Collection, fe error)

NoMatchInterface copies a error to a Collection.

func NoMatchMap added in v0.3.2

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

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

func NoMatchSliceSimple added in v0.3.2

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 added in v0.3.2

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

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

func SliceExternal added in v0.3.2

func SliceExternal(tP []Placeholder, fP []Placeholder)

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

func SliceExternalComplex added in v0.3.2

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

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

func SliceSimple added in v0.3.2

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

SliceSimple copies a []string to a *Collection.

func Struct added in v0.3.3

func Struct(tC Collection, fC Collection)

Struct copies a Collection to a Collection.

func StructExternal added in v0.3.3

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

StructExternal copies a external.Collection to a *Collection.

Types

type Collection added in v0.3.2

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