mirror of
https://github.com/golang/go
synced 2024-11-25 04:27:56 -07:00
16 lines
163 B
Go
16 lines
163 B
Go
|
package dep2
|
||
|
|
||
|
import "testshared/depBase"
|
||
|
|
||
|
var W int = 1
|
||
|
|
||
|
var hasProg depBase.HasProg
|
||
|
|
||
|
type Dep2 struct {
|
||
|
depBase.Dep
|
||
|
}
|
||
|
|
||
|
func G() int {
|
||
|
return depBase.F() + 1
|
||
|
}
|