判断runtime的版本,打印日志
[WARNING] Now Gin requires Go 1.6 or later and Go 1.7 will be required soon.
[WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
然后做着和New()一样的活,最后为框架实例添加了Logger和Recovery中间件.
判断runtime的版本,打印日志
[WARNING] Now Gin requires Go 1.6 or later and Go 1.7 will be required soon.
[WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
然后做着和New()一样的活,最后为框架实例添加了Logger和Recovery中间件.