Checks the unzipped size of all packages in an NPM org
-
Clone the repository:
git clone https://github.com/yourusername/projectname.git cd projectname
-
Install dependencies:
go mod tidy
-
Build the project:
go build -o projectname
-
Run the project:
./projectname
-
Example command:
./projectname arg1 arg2
- Go 1.19 or higher
To run tests, use the following command:
go test ./...
Ensure your code follows best practices by running the linter:
-
Install
golangci-lint
:curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1
-
Run the linter:
golangci-lint run