goversion_arrayof_lt_go15.go 367 B

1234567891011121314
  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. // +build !go1.5
  4. package codec
  5. import "reflect"
  6. const reflectArrayOfSupported = false
  7. func reflectArrayOf(count int, elem reflect.Type) reflect.Type {
  8. panic("codec: reflect.ArrayOf unsupported in this go version")
  9. }