#47 refactor: change pointer to struct
#48 feat: upgrade go module to v2
Breaking Changes
the signature of structs are changed
Migration
- import path:
github.com/suzuki-shunsuke/flute
->github.com/suzuki-shunsuke/flute/v2
github.com/suzuki-shunsuke/flute/flute
->github.com/suzuki-shunsuke/flute/v2/flute
- Route.Matcher: *Matcher -> Matcher
- Route.Tester: *Tester -> Tester
- Route.Response: *Response -> Response
- Tester.Test:
func(*testing.T, *http.Request, *Service, *Route)
->func(*testing.T, *http.Request, Service, Route)
&Transport
->Transport