From ce16fdfb6092bad53011d17cc8fb968d5a625aac Mon Sep 17 00:00:00 2001 From: Alexandr Elhovenko Date: Sun, 8 Apr 2018 16:58:56 +0300 Subject: [PATCH] We can use uint64 now According to https://github.com/go-sql-driver/mysql/pull/332 it's not an issue anymore? --- en-US/mvc/model/models.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/en-US/mvc/model/models.md b/en-US/mvc/model/models.md index 060235f7..79919c83 100644 --- a/en-US/mvc/model/models.md +++ b/en-US/mvc/model/models.md @@ -104,10 +104,6 @@ When Field type is int, int32, int64, uint, uint32 or uint64, you can set it as * If there is no primary key in the model definition, the field `Id` with one of the types above will be considered as auto increment key -Because of the design of go, even if you are using uint64, you can't use it's maximum. It is still treated as int64. - -See issue [6113](http://code.google.com/p/go/issues/detail?id=6113) - #### pk Set as primary key. Used for using other type field as primary key.