reflect.Value.CanInterface (method)

15 uses

	reflect (current package)
		value.go#L1469: func (v Value) CanInterface() bool {

	encoding/json
		decode.go#L479: 		if v.Type().NumMethod() > 0 && v.CanInterface() {

	fmt
		print.go#L747: 		if f.IsValid() && f.CanInterface() {
		print.go#L768: 	if depth > 0 && value.IsValid() && value.CanInterface() {

	github.com/google/go-cmp/cmp
		options.go#L182: 	if !vx.IsValid() || !vx.CanInterface() || !vy.IsValid() || !vy.CanInterface() {
		options.go#L216: 	if !vx.CanInterface() || !vy.CanInterface() {
		options.go#L229: 	if !vx.CanInterface() || !vy.CanInterface() {
		report_compare.go#L386: 				if seen && prevKey.CanInterface() && currKey.CanInterface() {
		report_reflect.go#L131: 	if !opts.AvoidStringer && v.CanInterface() {

	go.uber.org/mock/gomock
		call.go#L469: 		if !f.CanInterface() {

	net/http
		transport.go#L407: 		if v := rv.Field(0); v.CanInterface() {