mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-17 22:32:26 +08:00
Fix GetUint64 comment type error
This commit is contained in:
parent
a84a97c6c6
commit
49c46f549a
@ -303,7 +303,7 @@ func (c *Context) GetInt64(key string) (i64 int64) {
|
||||
return
|
||||
}
|
||||
|
||||
// GetInt64 returns the value associated with the key as an unsigned integer.
|
||||
// GetUint64 returns the value associated with the key as an unsigned integer.
|
||||
func (c *Context) GetUint64(key string) (ui64 uint64) {
|
||||
if val, ok := c.Get(key); ok && val != nil {
|
||||
ui64, _ = val.(uint64)
|
||||
|
Loading…
x
Reference in New Issue
Block a user