Skip to content

Example code for my talk on TDD + Mocking in Go

License

Notifications You must be signed in to change notification settings

dev-rice/counter-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

counter-demo

A demo web server that counts lines of source code in a given Go package

go get github.com/rosenhouse/counter-demo
cd $GOPATH/src/github.com/rosenhouse/counter-demo
go run server/main.go &
curl localhost:8000/lines/github.com/rosenhouse/counter-demo
kill %1

Huh?

This is the material I used in my talk on TDDing with Mocks in Go.

Follow along via:

About

Example code for my talk on TDD + Mocking in Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%