interfaces

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type A

type A interface {
	A()
}

Only in A interface.

type B

type B interface {
	B()
}

Only in B interface.

type C

type C interface {
	C()
}

C docs.

type CommentInterface

type CommentInterface interface {
	A() // Method A inline comment
	// Method B documentation comment.
	B()
	/*
		Multi-line documentation of C method.
	*/
	C()
	D() /*Multi-line documentation of
	D method*/
}

Type documentation

type ComplexInterface

type ComplexInterface interface {
	A(a interface {
		B()
		ComplexInterface
	}) interface {
		C()
		D()
	}
}

type D

type D interface {
	D()
}

D documentation

type E

type E interface {
	A // embedding A interface
	B // embedding B interface
}

Type documentation will be in comment's block of A, B, C, D, E interfaces.

type InterfaceA

type InterfaceA interface {
	A()
	B(string) error
	C(a, b int) (string, error)
	D(a interface{}) (d, e string, f error)
}

Jump to

Keyboard shortcuts

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