MCPcopy
hub / github.com/h2oai/wave / Cur

Struct Cur

types.go:77–80  ·  view source on GitHub ↗

Cur represents a type-aware cursor for accessing fields in a tuple.

Source from the content-addressed store, hash-verified

75
76// Cur represents a type-aware cursor for accessing fields in a tuple.
77type Cur struct {
78 t Typ
79 tup []interface{}
80}
81
82func (c Cur) get(f string) interface{} {
83 t, tup := c.t, c.tup

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected