Closed gurre closed 5 years ago
Hi @gurre, I don't understand. I have projects which use internal
directories whose parents have no go code, and it works.
Can you give more detail on the setup that is producing problems for you? A full reproducer would be helpful.
I'm having trouble to reproduce this issue locally. It was created by https://github.com/golangci/golangci-lint/blob/master/pkg/golinters/typecheck.go
on circleci running image circleci/golang:1.12
. I don't have time to dig further into this issue and since it's not even the go compiler complaining it's not that severe.
I'm unable to structure my project using latest Go as suggested in the best practices section
Folder/Package Structure
. https://twitchtv.github.io/twirp/docs/best_practices.htmlOn how to use internal packages:
It seems like the parent directory of internal is missing go code and is therefore ignored.