full diff: https://github.com/google/go-cmp/compare/v0.5.5...v0.5.7 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
17 lines
411 B
Go
17 lines
411 B
Go
// Copyright 2017, The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build purego
|
|
// +build purego
|
|
|
|
package cmp
|
|
|
|
import "reflect"
|
|
|
|
const supportExporters = false
|
|
|
|
func retrieveUnexportedField(reflect.Value, reflect.StructField, bool) reflect.Value {
|
|
panic("no support for forcibly accessing unexported fields")
|
|
}
|