example

package
v0.0.0-...-a2a1f02 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Magic

func Magic(i MyInterfacer)

Magic is well, magic INTERFACE AS A FUNCTION PARAMETER

func UpdateName

func UpdateName(i MyInterfacer, name string)

UpdateName Ability to update data

Types

type MyInterfacer

type MyInterfacer interface {
	// contains filtered or unexported methods
}

func MakemyStructA

func MakemyStructA(name string) MyInterfacer

MakemyStructA create the interface for myStructA INTERFACE AS A RETURN

func MakemyStructB

func MakemyStructB(x, y int) MyInterfacer

MakemyStructB create the interface for myStructB INTERFACE AS A RETURN

Jump to

Keyboard shortcuts

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