mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 11:50:55 +00:00
Merge pull request #3801 from DennisMao/develop
fix annotation on orm/utils #3777
This commit is contained in:
commit
8395a26061
@ -129,7 +129,7 @@ func (f StrTo) Uint16() (uint16, error) {
|
|||||||
return uint16(v), err
|
return uint16(v), err
|
||||||
}
|
}
|
||||||
|
|
||||||
// Uint32 string to uint31
|
// Uint32 string to uint32
|
||||||
func (f StrTo) Uint32() (uint32, error) {
|
func (f StrTo) Uint32() (uint32, error) {
|
||||||
v, err := strconv.ParseUint(f.String(), 10, 32)
|
v, err := strconv.ParseUint(f.String(), 10, 32)
|
||||||
return uint32(v), err
|
return uint32(v), err
|
||||||
|
Loading…
Reference in New Issue
Block a user