Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / go / internal / gccgoimporter / testdata / nointerface.go
1 // Copyright 2018 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 file.
4
5 package nointerface
6
7 type I int
8
9 //go:nointerface
10 func (p *I) Get() int { return int(*p) }
11
12 func (p *I) Set(v int) { *p = I(v) }