Source file test/interface/embed3.dir/embed0.go

     1  // Copyright 2019 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 p
     6  
     7  type I1 interface {
     8  	Foo(int)
     9  }
    10  
    11  type I2 interface {
    12  	foo(int)
    13  }
    14  
    15  type M1 int
    16  
    17  func (M1) foo() {}
    18  
    19  type M2 int
    20  
    21  func (M2) foo(int) {}
    22  

View as plain text