p1

Imports

Imports #

ptwo "p2"

Constants & Variables

A const #

Deprecated: use B.

const A = 1

A64 const #

const A64 int64 = 1

AIsLowerA const #

const AIsLowerA = a

B0 const #

const B0 = 2

Byte var #

var Byte byte

ByteConv var #

Variables with conversions:

var ByteConv = *ast.CallExpr

ByteFunc var #

var ByteFunc func(byte) rune

ChecksumError var #

var ChecksumError = *ast.CallExpr

ConstChase2 const #

const ConstChase2 = constChase

ConversionConst const #

const ConversionConst = *ast.CallExpr

FloatConst const #

const FloatConst = 1.5

SIPtr var #

var SIPtr = *ast.UnaryExpr

SIPtr2 var #

var SIPtr2 *SI

SIVal var #

var SIVal = SI{...}

StrConst const #

const StrConst = "foo"

StrConv var #

Variables with conversions:

var StrConv = *ast.CallExpr

V var #

Variables from function calls.

var V = *ast.CallExpr

V1 var #

Variables from function calls.

var V1 = *ast.CallExpr

V2 var #

Variables from function calls.

var V2 = *ast.CallExpr

VError var #

Deprecated: use WError.

var VError = *ast.CallExpr

X var #

var X I

X0 var #

var X0 int64

Y var #

var Y int

a const #

const a = 11

assertVar var #

var assertVar = *ast.TypeAssertExpr

chanVar var #

var chanVar chan int

constChase const #

const constChase = AIsLowerA

foo const #

const foo = "foo"

foo2 const #

const foo2 string = "foo2"

funcLit var #

var funcLit = *ast.FuncLit

ifaceVar var #

var ifaceVar any = 5

indexVar var #

var indexVar = *ast.IndexExpr

m var #

var m map[string]int

parenExpr var #

var parenExpr = *ast.ParenExpr

truth const #

const truth = *ast.BinaryExpr

x var #

var x = *ast.UnaryExpr

Type Aliases

FuncType type #

type FuncType func(x int, y int, s string) (b *B, err error)

MyInt type #

type MyInt int

myInt type #

type myInt int

Interfaces

Error interface #

type Error interface {
error
Temporary() bool
}

I interface #

type I interface {
Namer
ptwo.Twoer
Set(name string, balance int64)
Get(string) int64
GetNamed(string) balance int64
private()
}

Namer interface #

type Namer interface {
Name() string
}

Private interface #

Deprecated: Use Unexported.

type Private interface {
X()
y()
}

Public interface #

type Public interface {
X()
Y()
}

Structs

B struct #

type B struct {
common
}

ByteStruct struct #

type ByteStruct struct {
B byte
R rune
}

Codec struct #

type Codec struct {
Func func(x int, y int) z int
}

EmbedSelector struct #

type EmbedSelector struct {
Time
}

EmbedURLPtr struct #

type EmbedURLPtr struct {
*URL
}

Embedded struct #

type Embedded struct {

}

S struct #

type S struct {
Public *int
private *int
PublicTime Time
}

S2 struct #

type S2 struct {
S
Extra bool
}

SI struct #

type SI struct {
I int
}

T struct #

type T struct {
common
}

TPtrExported struct #

type TPtrExported struct {
*Embedded
}

TPtrUnexported struct #

type TPtrUnexported struct {
*common
}

Time struct #

type Time struct {

}

URL struct #

Deprecated: use URI.

type URL struct {

}

common struct #

type common struct {
i int
}

s struct #

type s struct {

}

Functions

Bar function #

func Bar(x int8, y int16, z int64)

Bar1 function #

func Bar1(x int8, y int16, z int64) uint64

Bar2 function #

func Bar2(x int8, y int16, z int64) (uint8, uint64)

BarE function #

func BarE() Error

CapitalMethodUnexportedType method #

func (myInt) CapitalMethodUnexportedType()

JustOnB method #

func (*B) JustOnB()

JustOnT method #

func (*T) JustOnT()

Method method #

func (s) Method()

Now function #

func Now() Time

OnBothTandBPtr method #

func (*common) OnBothTandBPtr()

OnBothTandBVal method #

func (common) OnBothTandBVal()

OnEmbedded method #

func (*Embedded) OnEmbedded()

PlainFunc function #

func PlainFunc(x int, y int, s string) (b *B, err error)

SMethod method #

Deprecated: use TMethod.

func (s *S2) SMethod(x int8, y int16, z int64)

StructValueMethod method #

func (S) StructValueMethod()

StructValueMethodNamedRecv method #

func (ignored S) StructValueMethodNamedRecv()

TakesFunc function #

func TakesFunc(f func(dontWantName int) int)

ellipsis function #

func ellipsis(...string)

method method #

func (s) method()

privateTypeMethod method #

func (myInt) privateTypeMethod()

unexported function #

func unexported(x int8, y int16, z int64)

unexported method #

func (s *S2) unexported(x int8, y int16, z int64)

Generated with Arrow