diverge

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL