qur / withmock

Automatic Go package mock generation tool
Other
71 stars 9 forks source link

ERROR: Failed to run gofmt #62

Open kredods opened 5 years ago

kredods commented 5 years ago

Getting a ERROR: Failed to run gofmt on '/var/folders/zl/tg8fcj7n25v2kyw1sdmn_wxc0000gp/T/withmock004231577/path/src/github.com/go-chi/chi/chi_ifmocks.go': exit status 2 output: /var/folders/zl/tg8fcj7n25v2kyw1sdmn_wxc0000gp/T/withmock004231577/path/src/github.com/go-chi/chi/chi_ifmocks.go:181:65: expected 'IDENT', found '*'

and line 181 is the first line in the code below

func (_m *MockRouter) ServeHTTP(p0 http.ResponseWriter, p1 http.*Request) { _ctrl.Call(_m, "ServeHTTP", p0, p1) }

Please I need assistance as to how to triage this issue

qur commented 5 years ago

Could you try the fix on the issue62 branch?

(sorry for the delay in responding)