flute v2.0.0 Release Notes
Release Date: 2020-06-15 // almost 3 years ago-
🔨 #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
- import path:
Previous changes from v1.0.0
-
- ⬆️ Upgrade dependencies
- ➕ Add linters and refactor: #44