I'm very new to Go and was wondering is there any convention/standard with examples on how to test Go Martini's Handler code?
Thanking you in advance!
I'm very new to Go and was wondering is there any convention/standard with examples on how to test Go Martini's Handler code?
Thanking you in advance!
The martini-contrib library has a lot of existing code worth looking at: https://github.com/martini-contrib/secure/blob/master/secure_test.go
e.g.
To sum:
martini.Classic()