copygen

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 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(tg [16]external.Placeholder, fg [16]external.Placeholder)

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

func ArrayExternalComplex added in v0.3.2

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 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 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(tP *Placeholder, fP Placeholder)

BasicPointer copies a Placeholder to a *Placeholder.

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 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 external.Placeholder, fc chan external.Placeholder)

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

func ChanExternalComplex added in v0.3.2

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

ChanExternalComplex copies a chan *[]external.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 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.Container, ff func([]string, uint64) *byte)

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

func FuncExternal added in v0.3.2

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

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

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

func FuncNoMatch added in v0.3.2

func FuncNoMatch(tC Container, ff func() int)

FuncNoMatch copies a func()int to a Container.

func FuncSimple added in v0.3.2

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

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

func Map

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

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

func MapExternal added in v0.3.2

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

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 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 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(tg []external.Placeholder, fg []external.Placeholder)

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

func SliceExternalComplex added in v0.3.2

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

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

SliceSimple copies a []string 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
}

type Container

type Container struct {
	I ifc
	F func() int
}

Container represents a type that holds container field types.

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