impl

package
v0.0.0-...-27647ab Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dog

type Dog struct {
	Woofs int
	Howl  Howler
}

type Howler

type Howler interface {
	Howl() string
}

type LoudHowl

type LoudHowl struct{}

func (LoudHowl) Howl

func (h LoudHowl) Howl() string

type Person

type Person struct {
	Age   float32
	Money int
	Name  string
}

type QuietHowl

type QuietHowl struct{}

func (QuietHowl) Howl

func (h QuietHowl) Howl() string

type Union1

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

func Union1_Dog

func Union1_Dog(v Dog) Union1

func Union1_Person

func Union1_Person(v Person) Union1

func (Union1) Dog

func (u Union1) Dog() Dog

func (Union1) Dog_Howl

func (u Union1) Dog_Howl() Howler

func (Union1) Dog_Woofs

func (u Union1) Dog_Woofs() int

func (Union1) Kind

func (u Union1) Kind() Union1_Kind

func (Union1) Person

func (u Union1) Person() Person

func (Union1) View_Dog

func (u Union1) View_Dog() Union1_View_Dog

type Union1_Kind

type Union1_Kind int8
const (
	Union1_Kind_Dog Union1_Kind = iota + 1
	Union1_Kind_Person
)

func (Union1_Kind) String

func (k Union1_Kind) String() string

type Union1_View_Dog

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

func (Union1_View_Dog) Howl

func (uv Union1_View_Dog) Howl() Howler

func (Union1_View_Dog) Woofs

func (uv Union1_View_Dog) Woofs() int

Jump to

Keyboard shortcuts

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