structpackage

package
v0.0.5-alpha Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StructFuncComposite

func StructFuncComposite(x Composite)

func StructFuncCompositeOther

func StructFuncCompositeOther(x CompositeOther)

func StructFuncNested

func StructFuncNested(x Nested)

func StructFuncNestedCustomType

func StructFuncNestedCustomType(x NestedCustomType)

func StructFuncNestedInt

func StructFuncNestedInt(x NestedInt)

func StructFuncNestedNested

func StructFuncNestedNested(x NestedNested)

func StructFuncSimple

func StructFuncSimple(x Simple)

Types

type Composite

type Composite struct {
	VarInt    int
	VarString *string
}

type CompositeOther

type CompositeOther struct {
	// contains filtered or unexported fields
}

type CustomType

type CustomType func(x int) string

type Nested

type Nested struct {
	X Simple
}

type NestedCustomType

type NestedCustomType struct {
	CustomType
	// contains filtered or unexported fields
}

type NestedInt

type NestedInt struct {
	// contains filtered or unexported fields
}

type NestedNested

type NestedNested struct {
	Nested
	// contains filtered or unexported fields
}

type Simple

type Simple struct {
	Var int
}

Jump to

Keyboard shortcuts

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