1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-13 06:10:54 +00:00

fix annotation on orm/utils

This commit is contained in:
Razil 2019-09-09 00:47:20 +08:00
parent 5620608418
commit 4348356d0a

View File

@ -129,7 +129,7 @@ func (f StrTo) Uint16() (uint16, error) {
return uint16(v), err
}
// Uint32 string to uint31
// Uint32 string to uint32
func (f StrTo) Uint32() (uint32, error) {
v, err := strconv.ParseUint(f.String(), 10, 32)
return uint32(v), err