Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@suzuki-shunsuke suzuki-shunsuke released this 15 Jun 10:35
02f6978

v1.0.1...v2.0.0

#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