Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
Running golangci-lint run for various different files
1,573 views
Skip to first unread message
Beginner
unread,
Jan 26, 2022, 12:08:28 PM
1/26/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
Hey when i run
golangci-lint run app/main.go utils/db/db.go i get an error stating `
named files must all be in one directory golang` why is that ?
Tamás Gulácsi
unread,
Jan 27, 2022, 10:43:34 AM
1/27/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
Just as with other tools, golangci-lint run runs on packages, not individual files:
golangci-lint run ./app ./utils/db
Reply all
Reply to author
Forward
0 new messages