Test

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2012 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	A    = true
	B, C = "c", "d"
	_, D = 0, 0
)
View Source
const Constant string = "const"
View Source
const OtherConst = "const"

Variables

View Source
var (
	A    = true
	B, C = "c", "d"
	_, D = 0, 0
)

Functions

func Dial2 added in v1.2.0

func Dial2() (*Connection, *Struct2)

func Function1

func Function1() string

Types

type Connection added in v1.2.0

type Connection struct {
}

func Dial added in v1.2.0

func Dial() (*Connection, error)

func Dial3 added in v1.2.0

func Dial3() (a, b *Connection)

type Interface

type Interface interface {
	InterfaceMethod(int) string
	OtherMethod()
	io.Reader
}

type Struct

type Struct struct {
	Field1, Field2 int
	// contains filtered or unexported fields
}

func NewStruct

func NewStruct() *Struct

func (Struct) F1

func (s Struct) F1() ([]bool, [2]*string)

func (Struct) F2

func (Struct) F2() (result bool)

type Struct2 added in v1.1.0

type Struct2 struct {
}

func NewStruct2 added in v1.1.0

func NewStruct2() (*Struct2, error)

type TestEmbed

type TestEmbed struct {
	Struct
	*io.Writer
}

func NewTestEmbed

func NewTestEmbed() TestEmbed

Jump to

Keyboard shortcuts

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