OK, so I have a project named golang_web_boilerplate in $GOPATH/src:
> go test ./...
# golang_web_boilerplate/db/migrations
runtime.main: call to external function main.main
runtime.main: main.main: not defined
runtime.main: undefined: main.main
? golang_web_boilerplate [no test files]
> go test ./internal/...
? golang_web_boilerplate/internal/app/data [no test files]
--- FAIL: TestXxx (0.00s)
Error Trace: server_test.go:7
Error: Not equal:
expected: 10
received: 12
Messages: AAA
Error Trace: server_test.go:8
Error: Not equal:
expected: 10
received: 14
Messages: BBB
FAIL
FAIL golang_web_boilerplate/internal/app/web 0.920s
ok golang_web_boilerplate/internal/app/web/restutils 0.552s