jimmyduang
jimmyduang
> But there is can't reproduce in Ubuntu 18.04 and other. haha,Because you did not use the remote launcher method, or use the daemon process to launch the program, if...
> Ubuntu server? You should use `xvfb-run`. i see,i will check,thanks
> httpflood.go try use `go build .`
> 这个应该是 gorm model迁移产生的问题,对吧? > > 如果不是可以忽略我这个回答。 > > 如果是的话,我建议可以使用 第三方工具来管理表迁移相关操作,比如[`sql-migrate`](github.com/rubenv/sql-migrate), 使用例子可以参考我这个[仓库](https://github.com/wxy2077/gorm-example/blob/main/02_migrate/README.md) 。 不是的哈,是[gen](gorm.io/gen) 生成model中包含tag:autoIncrement;但是之后反向migrate的时候,并没有生成自增id, 不过这里有个pr,但是现在没人审阅