blob: 8debfa613713167a183292172036fe48507e28fa [file] [log] [blame]
khenaidooffe076b2019-01-15 16:08:08 -05001// 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.4
5
6package codec
7
8// This codec package will only work for go1.4 and above.
9// This is for the following reasons:
10// - go 1.4 was released in 2014
11// - go runtime is written fully in go
12// - interface only holds pointers
13// - reflect.Value is stabilized as 3 words
14
15func init() {
16 panic("codec: go 1.3 and below are not supported")
17}