Skip to content

uglyog/example_pact_with_go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Example pact with go

This is a port of the example provider written in Ruby to Google Go. The Pact is copied verbatim from the ruby project (https://github.com/uglyog/example_pact).

To run the provider:

$ go get github.com/paulbellamy/mango
$ go run src/main.go

You can then direct your browser to http://localhost:3000/producer.json

To run the pact verification test:

$ go get github.com/bmizerany/assert
$ go get github.com/drewolson/testflight
$ go test -v src/pact/producer_test.go

About

Example Pact verification in Google Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages