Debian Codegraph @

test/typeparam/issue47929.go

raw
1 // compile -p=p
2
3 // Copyright 2021 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
6
7 package v4
8
9 var sink interface{}
10
11 //go:noinline
12 func Do(result, body interface{}) {
13 sink = &result
14 }
15
16 func DataAction(result DataActionResponse, body DataActionRequest) {
17 Do(&result, body)
18 }
19
20 type DataActionRequest struct {
21 Action *interface{}
22 }
23
24 type DataActionResponse struct {
25 ValidationErrors *ValidationError
26 }
27
28 type ValidationError struct {
29 }