Files
woodpecker/vendor/github.com/google/go-cmp/cmp/export_panic.go
Lukas c28f7cb29f Add golangci-lint (#502)
Initial part of #435
2021-11-14 21:01:54 +01:00

16 lines
393 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.
// +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")
}