airplanes

package
v0.0.0-...-52405dd Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: MIT Imports: 2 Imported by: 0

README

GoGenerated Example

This is exactly the same code as 02 with one exception, we have added a mock.go file.

This file has a single purpose, to hold our GoGenerate functions which are used to generate and re-generate our mocked interfaces when they change.

To run, simply open the file in your IDE and hit the play button...nice!

Another option is to keep these GoGenerate comments with the interfaces, having them in one file means you can re-generate everything in one go, as well as running them individually.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AirplaneReader

type AirplaneReader interface {
	Airplanes(ctx context.Context) ([]string, error)
}

AirplaneReader will return all airplanes from a data store.

Jump to

Keyboard shortcuts

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