mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 18:20:50 +00:00
fix annotation on orm/utils
This commit is contained in:
parent
5620608418
commit
4348356d0a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user