delve/_fixtures/vendor/dir0/pkg/main.go
Alessandro Arzilli d9bd90d7e4 Pull Request #731 but with tests (#802)
* proc/eval: fix length calculation for string concatenation

* proc/variable: find package variables when the package has a path
2017-04-25 10:42:41 -07:00

16 lines
191 B
Go

package pkg
type SomeType struct {
X float64
}
func (s *SomeType) AMethod(x int) int {
return x + 3
}
func (s *SomeType) AnotherMethod(x int) int {
return x + 4
}
var SomeVar SomeType