delve/_fixtures/internal/dir0/pkg/main.go

22 lines
232 B
Go
Raw Normal View History

package pkg
var A = 0
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
const (
SomeConst int = 2
)