execute golangci-lint run
with golang os/exec
Execute golangci-lint run
with Golang's os/exec
.
go install github.com/go-mate/go-lint/cmd/go-lint@latest
cd project-path && go-lint
Analyze and report lint issues for the Go project.
cd awesome-path && go-lint
Analyze and report lint issues for Go subprojects.
cd awesome-path && go-lint run --debug=0
cd awesome-path && go-lint run --debug=1
Supported version:
golangci-lint version
Output:
golangci-lint has version 2.0.2 built with go1.24.1 from 2b224c2 on 2025-03-25T20:33:26Z
MIT License. See LICENSE.
Contributions are welcome! To contribute:
- Fork the repo on GitHub (using the webpage interface).
- Clone the forked project (
git clone https://github.com/yourname/repo-name.git
). - Navigate to the cloned project (
cd repo-name
) - Create a feature branch (
git checkout -b feature/xxx
). - Stage changes (
git add .
) - Commit changes (
git commit -m "Add feature xxx"
). - Push to the branch (
git push origin feature/xxx
). - Open a pull request on GitHub (on the GitHub webpage).
Please ensure tests pass and include relevant documentation updates.
Welcome to contribute to this project by submitting pull requests and reporting issues.
If you find this package valuable, give me some stars on GitHub! Thank you!!!
Thank you for your support!
Happy Coding with this package! 🎉
Give me stars. Thank you!!!