Documentation ¶ Index ¶ type Errer type IntError func (e IntError) Error() string func (e IntError) Is(target error) bool type Pair func (x *Pair) WeaverMarshal(enc *codegen.Encoder) func (x *Pair) WeaverUnmarshal(dec *codegen.Decoder) type Pointer Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Errer ¶ type Errer interface { Err(context.Context, int) error } type IntError ¶ type IntError struct { X int } func (IntError) Error ¶ func (e IntError) Error() string func (IntError) Is ¶ func (e IntError) Is(target error) bool type Pair ¶ type Pair struct { weaver.AutoMarshal X, Y *int } func (*Pair) WeaverMarshal ¶ func (x *Pair) WeaverMarshal(enc *codegen.Encoder) func (*Pair) WeaverUnmarshal ¶ func (x *Pair) WeaverUnmarshal(dec *codegen.Decoder) type Pointer ¶ type Pointer interface { Get(context.Context) (Pair, error) } Source Files ¶ View all Source files errors.go pointers.go weaver_gen.go Click to show internal directories. Click to hide internal directories.