go-jamming/rest/wrappers.go

10 lines
197 B
Go

package rest
// great, these are needed to do the structural typing for the tests...
type HttpReq interface {
FormValue(key string) string
}
type HttpHeader interface {
Get(key string) string
}