1 // Copyright 2017 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 iface_i 6 7 type I interface { 8 M() 9 } 10 11 type T struct { 12 } 13 14 func (t *T) M() { 15 } 16 17 // *T implements I 18