MCPcopy Index your code
hub / github.com/go-python/gopy / Enum

Struct Enum

bind/types.go:496–504  ·  view source on GitHub ↗

Enum

Source from the content-addressed store, hash-verified

494// Enum
495
496type Enum struct {
497 pkg *Package
498 sym *symbol
499 obj *types.Const // first one -- random..
500 typ *types.Named
501 id string
502 doc string
503 items []*Const
504}
505
506func newEnum(p *Package, o *types.Const) (*Enum, error) {
507 pkg := o.Pkg()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected