mirror of
https://gitee.com/johng/gf.git
synced 2024-11-29 18:57:44 +08:00
add Get*Int32/Get*Int64/Get*Uint32/Get*Uint64 functions for ghttp.Request
This commit is contained in:
parent
f1119e28e8
commit
74d625ff97
@ -70,8 +70,8 @@ func (r *Request) GetQueryInt32(key string, def ...interface{}) int32 {
|
||||
return r.GetQueryVar(key, def...).Int32()
|
||||
}
|
||||
|
||||
func (r *Request) GetQueryInt64(key string, def ...interface{}) uint64 {
|
||||
return r.GetQueryVar(key, def...).Uint64()
|
||||
func (r *Request) GetQueryInt64(key string, def ...interface{}) int64 {
|
||||
return r.GetQueryVar(key, def...).Int64()
|
||||
}
|
||||
|
||||
func (r *Request) GetQueryInts(key string, def ...interface{}) []int {
|
||||
|
Loading…
Reference in New Issue
Block a user