Tom Mornini
Tom Mornini
Hey there. Just found this issue: ``` package main import ( "net/http" "github.com/julienschmidt/httprouter" ) func main() { router := httprouter.New() router.GET( "/networks/:network-id/accounts/:network-account-id/purchases/:purchase-id", getPurchaseHTTPRouter, ) panic(http.ListenAndServe(":8080", router)) } func getPurchaseHTTPRouter(w http.ResponseWriter,...
``` panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x6123ba] goroutine 10 [running]: main.messageFromFile(0xc4200e4820, 0x0, 0xc4201b2730, 0x0) /go/src/github.com/tmornini/http-spec/type-message.go:52 +0x1ea main.responseFromFile(0xc4200e4820, 0xc4200ea2f0, 0x0,...