instances

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WrapperInstances = []*Wrapper{
		{"bool", true, false},
		{"uint", true, true},
		{"uint8", true, true},
		{"uint16", true, true},
		{"uint32", true, true},
		{"uint64", true, true},
		{"uintptr", true, true},
		{"int", true, true},
		{"int8", true, true},
		{"int16", true, true},
		{"int32", true, true},
		{"int64", true, true},
		{"float32", true, true},
		{"float64", true, true},
		{"complex64", true, false},
		{"complex128", true, false},
		{"string", true, true},
	}
)

Functions

func ModelToText

func ModelToText(dir string, packageName string) error

func WriteFile

func WriteFile(filename string, contents string) error

Types

type Wrapper

type Wrapper struct {
	Underlying  string
	EqInstance  bool
	OrdInstance bool
}

Jump to

Keyboard shortcuts

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