github.com/amarpal/go-tools@v0.0.0-20240422043104-40142f59f616/unused/testdata/src/example.com/interfaces2/interfaces.go (about)

     1  package pkg
     2  
     3  type I interface { //@ used("I", true)
     4  	foo() //@ used("foo", true)
     5  }
     6  
     7  type T struct{} //@ used("T", true)
     8  
     9  func (T) foo() {} //@ used("foo", true)
    10  func (T) bar() {} //@ used("bar", false)
    11  
    12  var _ struct { //@ used("_", true)
    13  	T //@ used("T", true)
    14  }