test

package
v0.0.0-...-2764f1d Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: MIT Imports: 5 Imported by: 0

README

/test

Additional external test apps and test data. Feel free to structure the /test directory anyway you want. For bigger projects it makes sense to have a data subdirectory. For example, you can have /test/data or /test/testdata if you need Go to ignore what's in that directory. Note that Go will also ignore directories or files that begin with "." or "_", so you have more flexibility in terms of how you name your test data directory.

Examples:

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlerMock

func HandlerMock(w http.ResponseWriter, r *http.Request)

HandlerMock mock a http handler

func LoggerMock

func LoggerMock() (*infra.Logger, *observer.ObservedLogs)

LoggerMock creates a log mock

Types

This section is empty.

Jump to

Keyboard shortcuts

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