otelwrap

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckInAnother

func CheckInAnother(filename string) bool

CheckInAnother ...

func RunCommand

func RunCommand(args CommandArgs, outFile string) error

RunCommand ...

Types

type CommandArgs

type CommandArgs struct {
	Dir            string
	SrcFileName    string
	InterfaceNames []string
	InAnother      bool
	PkgName        string
}

CommandArgs ...

type HandlerAlias added in v0.4.0

type HandlerAlias = hello.Handler

HandlerAlias ...

type Repo

type Repo interface {
	Update(ctx context.Context, id int) error
}

Repo for testing

type Sample

type Sample interface {
	Get(ctx context.Context) (int, error)
	Check() (bool, error)
}

Sample for testing

Jump to

Keyboard shortcuts

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