Pragya Arya | 324337e | 2020-02-20 14:35:08 +0530 | [diff] [blame] | 1 | // Copyright 2017, The Go Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style | ||||
3 | // license that can be found in the LICENSE.md file. | ||||
4 | |||||
5 | // +build purego | ||||
6 | |||||
7 | package cmp | ||||
8 | |||||
9 | import "reflect" | ||||
10 | |||||
11 | const supportExporters = false | ||||
12 | |||||
13 | func retrieveUnexportedField(reflect.Value, reflect.StructField) reflect.Value { | ||||
14 | panic("no support for forcibly accessing unexported fields") | ||||
15 | } |