1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
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 }