mirror of
https://github.com/kataras/iris.git
synced 2026-01-25 21:05:56 +00:00
version 12.1.5
Former-commit-id: cda69f08955cb0d594e98bf26197ee573cbba4b2
This commit is contained in:
@@ -14,7 +14,7 @@ func NewValues() Values {
|
||||
// Clone returns a copy of the current values.
|
||||
func (bv Values) Clone() Values {
|
||||
if n := len(bv); n > 0 {
|
||||
values := make(Values, n, n)
|
||||
values := make(Values, n)
|
||||
copy(values, bv)
|
||||
return values
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user