According to https://golang.org/cmd/go/#hdr-Test_packages service_test is more appropriate becuase this directory contains no non-test code and the intention is to compile these *_test.go files as a separate package and link/run with the main test package. |
||
|---|---|---|
| .. | ||
| api | ||
| debugger | ||
| rpc1 | ||
| rpc2 | ||
| rpccommon | ||
| test | ||
| client.go | ||
| config.go | ||
| rpccallback.go | ||
| server.go | ||