lib

package
v0.0.0-...-35a9412 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package lib contains interfaces and types that implement them. It is very similar to package main, whose interfaces its types also implements.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IfaceLibA

type IfaceLibA interface {
	A()
}

IfaceLibA is a simple test interface.

type IfaceLibAB

type IfaceLibAB interface {
	A()
	B()
}

IfaceLibAB is a simple test interface that extends IfaceLibA and IfaceLibB.

type IfaceLibB

type IfaceLibB interface {
	B()
}

IfaceLibB is a simple test interface.

type LibA

type LibA int

LibA implements IfaceLibA

func (LibA) A

func (a LibA) A()

A implements IfaceLibA

type LibAB

type LibAB int

LibAB implements IfaceLibAB

func (LibAB) A

func (ab LibAB) A()

A implements IfaceLibA

func (LibAB) B

func (ab LibAB) B()

B implements IfaceLibB

type LibC

type LibC int

LibC doesn't implement anything from this package but implements the unexported main.ifaceC.

func (LibC) C

func (c LibC) C()

C is just a member functions of LibC

Jump to

Keyboard shortcuts

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