Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

underscoring /web and /website folders (not containing Go source code) #90

Open
mlukasik-dev opened this issue Dec 16, 2020 · 0 comments

Comments

@mlukasik-dev
Copy link

When using "Standard Go Project Layout" I face serious issue with /web directory, which in my case contains really big frontend project. I'm working with yarn workspaces in that folder, so when I run for instance go mod tidy command I'm getting the following warnings:

warning: ignoring symlink /home/sysadmin/Documents/<project>/web/node_modules/<some package>

Also I'm not sure if scanning entire /web folder for anything related to Go is very effecient.
So one possible solution is to rename /web to /_web.

P.S. running go help packages we get the following:

...
Directory and file names that begin with "." or "_" are ignored
by the go tool, as are directories named "testdata".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant