iface

package
v0.0.0-...-27ed260 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

package iface tests various aspects of interfaces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallIface

func CallIface(v Iface)

CallIface calls F() on v

Types

type Iface

type Iface interface {
	F()
}

Iface has a single F() method

type T

type T struct{}

T implements Iface

func (*T) F

func (t *T) F()

Jump to

Keyboard shortcuts

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