mirror of
https://github.com/golang/go
synced 2024-11-08 19:26:14 -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
|
||
|
}
|