interface_

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Interface01

func Interface01() error

interface に関するサンプル

Types

type MyInterface

type MyInterface interface {
	// サンプル用のインターフェースメソッド
	MyMethod() int
}

サンプル用のインターフェース

type MySt01

type MySt01 struct {
}

サンプル用の構造体1

func (*MySt01) MyMethod

func (*MySt01) MyMethod() int

impl: MyInterface::MyMethod

type MySt02

type MySt02 struct {
}

サンプル用の構造体2

func (*MySt02) MyMethod

func (*MySt02) MyMethod() int

impl: MyInterface::MyMethod

Jump to

Keyboard shortcuts

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