example

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Example

type Example struct {
	Id    string
	Value string
}

type ExampleMock

type ExampleMock interface {
	GetByString(ctx context.Context, str string) (string, error)
	GetByInt(ctx context.Context, i int) (int, error)
	GetWithVariadic(ctx context.Context, id string, options ...string) (int, error)
	SingleError(ctx context.Context, id string, options ...string) error
	WithStruct(ctx context.Context, in *Example) (*Example, error)
	WithDoAndReturn(ctx context.Context, in *Example) (*Example, error)
	Any(ctx context.Context, in *Example, options ...string) (*Example, error)
}

Directories

Path Synopsis
Package mock_example is a generated GoMock package.
Package mock_example is a generated GoMock package.

Jump to

Keyboard shortcuts

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