as https://github.com/gin-gonic/gin/pull/2664 mentioned, so:

  • [ ] when gin support min go version=go1.17, remove // +build ...