Skip to content

v1.1.0

Compare
Choose a tag to compare
@xgfone xgfone released this 07 Mar 09:52
· 269 commits to master since this release
  • Use github.com/xgfone/go-tools instead of the sub-package utils.
  • Use go.mod or dep to control the dependency.
  • Add the route Redirect.
  • Rename the configuration option SetKeepTrailingSlashPath to KeepTrailingSlashPath, SetEnableCtxHTTPContext to EnableCtxHTTPContext.
  • Add the configuration option DisableErrorLog.
  • Change: the registered shutdown function will be called by the reversed added order.
  • Change: the Recover middleware will ignore the argument, which does not remove it in order to keep the backward compatibility.
  • Change: the Logger middleware will output the log as the ERROR level when an error is returned.
  • Update: BindMapToStruct allow the empty nil and SetValue supports the map type.