khenaidoo | ffe076b | 2019-01-15 16:08:08 -0500 | [diff] [blame^] | 1 | // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. |
2 | // Use of this source code is governed by a MIT license found in the LICENSE file. | ||||
3 | |||||
4 | // +build go1.5 | ||||
5 | |||||
6 | package codec | ||||
7 | |||||
8 | import "reflect" | ||||
9 | |||||
10 | const reflectArrayOfSupported = true | ||||
11 | |||||
12 | func reflectArrayOf(count int, elem reflect.Type) reflect.Type { | ||||
13 | return reflect.ArrayOf(count, elem) | ||||
14 | } |