copygen

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: GPL-3.0, MIT-0 Imports: 0 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(tC Container, fb [16]byte)

Array copies a [16]byte to a Container.

func Chan

func Chan(tC Container, fc chan int)

Chan copies a chan int to a Container.

func Complex

func Complex(tP bool, fP bool)

Complex copies a bool to a bool.

func Func

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

Func copies a func() int to a funcHolder.

func Interface

func Interface(ti ifcHolder, fe error)

Interface copies a error to a ifcHolder.

func Map

func Map(tC Container, fm map[string]bool)

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

func Slice

func Slice(tC Container, fs []string)

Slice copies a []string to a Container.

Types

type Container

type Container struct {
	Arr [16]byte
	S   []string
	M   map[string]bool
	C   chan int
}

Container represents a type that holds container types.

type Placeholder

type Placeholder bool

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