Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
shoo
on April 27, 2014
|
parent
|
context
|
favorite
| on:
Go's power is in emergent behavior
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: