|
|
@ -95,8 +95,8 @@ func (u *URI) Get(key string) string {
|
|
|
|
return v
|
|
|
|
return v
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// GetBool returns true if a given key has the value "true". It will returns
|
|
|
|
// GetBool returns true if a given key has the value "true". It returns false
|
|
|
|
// false otherwise.
|
|
|
|
// otherwise.
|
|
|
|
func (u *URI) GetBool(key string) bool {
|
|
|
|
func (u *URI) GetBool(key string) bool {
|
|
|
|
v := u.Values.Get(key)
|
|
|
|
v := u.Values.Get(key)
|
|
|
|
if v == "" {
|
|
|
|
if v == "" {
|
|
|
|