testpkg

package
v0.0.0-...-ff625c4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2016 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesAppend

func BytesAppend(a []byte, b []byte) []byte

func CallIError

func CallIError(i I, triggerError bool) error

func CallSSum

func CallSSum(s *S) float64

func CollectS

func CollectS(want, timeoutSec int) int

func GC

func GC()

func Hello

func Hello(s string) string

func Hi

func Hi()

func Int

func Int(x int32)

func Multiply

func Multiply(idx int32, val int32) int64

func RegisterI

func RegisterI(idx int32, i I)

func ReturnsError

func ReturnsError(b bool) (string, error)

func Sum

func Sum(x, y int64) int64

func UnregisterI

func UnregisterI(idx int32)

Types

type I

type I interface {
	Times(v int32) int64
	Error(triggerError bool) error
}

func NewI

func NewI() I

type Node

type Node struct {
	V   string
	Err error
}

func NewNode

func NewNode(name string) *Node

type S

type S struct {
	X, Y float64
	// contains filtered or unexported fields
}

func NewS

func NewS(x, y float64) *S

func (*S) Sum

func (s *S) Sum() float64

func (*S) TryTwoStrings

func (s *S) TryTwoStrings(first, second string) string

Directories

Path Synopsis
Package go_testpkg is an autogenerated binder stub for package testpkg.
Package go_testpkg is an autogenerated binder stub for package testpkg.

Jump to

Keyboard shortcuts

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