projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
minor adjustment to readme
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
coc-go-data
/
tools
/
pkg
/
mod
/
golang.org
/
x
/
tools@v0.0.0-20201105173854-bc9fc8d8c4bc
/
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) }