Closed anyone0034 closed 8 months ago
Bot detected the issue body's language is not English, translate it automatically. π―ππ»π§βπ€βπ§π«π§πΏβπ€βπ§π»π©πΎβπ€βπ¨πΏπ¬πΏ
1. wsl Ubuntu 20.04
- OS:
Linux
- go-zero version
1.4.0
- goctl version
1.4.0 linux/amd64
- qqqq#
uname -a
Linux qqqq 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
goctl model mysql datasource -url="kvm:kvm@tcp(vm1:3307)/kvm" -table="*" -dir="../models" -style="goZero" -c qqqq#go version
go version go1.19.1 linux/amd64
- run
goctl model mysql datasource -url="kvm:kvm@tcp(vm1:3307)/kvm" -table="*" -dir="../models" -style="goZero" -c
Id uint64 `db:"id"`
Windows
1.4.0
1.4.0 windows/amd64
go1.19 windows/amd64
goctl model mysql datasource -url="kvm:kvm@tcp(vm1:3307)/kvm" -table="*" -dir="../models" -style="goZero" -c
Id int64 `db:"id"`
The latest version show the same version to the last version of goctl which are 1.4.0
, if you md5 to the binary file, you will get different sum values.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
1. wsl Ubuntu 20.04
Linux
1.4.0
1.4.0 linux/amd64
uname -a
Linux qqqq 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
goctl model mysql datasource -url="kvm:kvm@tcp(vm1:3307)/kvm" -table="*" -dir="../models" -style="goZero" -c qqqq#go version
go version go1.19.1 linux/amd64
goctl model mysql datasource -url="kvm:kvm@tcp(vm1:3307)/kvm" -table="*" -dir="../models" -style="goZero" -c
Result:
2. Windows
Windows
1.4.0
1.4.0 windows/amd64
go1.19 windows/amd64
goctl model mysql datasource -url="kvm:kvm@tcp(vm1:3307)/kvm" -table="*" -dir="../models" -style="goZero" -c
Result:
The two commands are the same,but mysql unsigned int type is different