mirror of
https://github.com/golang/go
synced 2024-11-07 22:46:13 -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
|
||
|
}
|