mirror of
https://github.com/kataras/iris.git
synced 2026-01-09 04:51:56 +00:00
formatting
Former-commit-id: 037081db5d6d4434e873ca8b75334ee43e046b6a
This commit is contained in:
@@ -124,9 +124,8 @@ func (bv *Values) AddOnce(value interface{}) bool {
|
||||
}
|
||||
|
||||
func (bv *Values) addIfNotExists(v reflect.Value) bool {
|
||||
var (
|
||||
typ = v.Type() // no element, raw things here.
|
||||
)
|
||||
|
||||
typ := v.Type() // no element, raw things here.
|
||||
|
||||
if !goodVal(v) {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user