iface

package
v0.0.0-...-972597a Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Unlicense Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Get() int
	CopyGet() int
	Set(x int)
}

func NewStruct

func NewStruct(i int) Interface

type Struct

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

func (Struct) CopyGet

func (s Struct) CopyGet() int

func (*Struct) Get

func (s *Struct) Get() int

func (*Struct) Set

func (s *Struct) Set(x int)

type Struct2

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

func (Struct2) CopyGet

func (s Struct2) CopyGet() int

func (*Struct2) Get

func (s *Struct2) Get() int

func (*Struct2) Set

func (s *Struct2) Set(x int)

Jump to

Keyboard shortcuts

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