Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ah, thank you. Where i was going wrong was declaring `foo_test.go` to be a separate package from `foo.go`. When i write `package foo` at the head of both `foo.go` and `foo_test.go` this works fine.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: