Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenCPython ¶
GenCPython generates a (C)Python package from a Go package
Types ¶
type Func ¶
type Func struct {
// contains filtered or unexported fields
}
Func collects informations about a go func/method.
type Package ¶
type Package struct {
// contains filtered or unexported fields
}
Package ties types.Package and ast.Package together. Package also collects informations about structs and funcs.
func NewPackage ¶
NewPackage creates a new Package, tying types.Package and ast.Package together.
func (*Package) ImportPath ¶
ImportPath returns the package import path.
type Protocol ¶
type Protocol int
Protocol encodes the various protocols a python type may implement
type Signature ¶
type Signature struct {
// contains filtered or unexported fields
}
A Signature represents a (non-builtin) function or method type.
type Struct ¶
type Struct struct {
// contains filtered or unexported fields
}
Struct collects informations about a go struct.
Click to show internal directories.
Click to hide internal directories.