_examples/

directory
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2016 License: MIT

README

Examples

gock's examples showing multiple built-in features and common practical use cases.

Set up
go get -u github.com/nbio/st
go get -u gopkg.in/h2non/gock.v1
Usage
Test based examples
go test ./_examples/<example>
Example
go test ./_examples/basic
Executable examples
go run ./_examples/<example>/<example>.go
Example
go run ./_examples/enable_networking/networking.go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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