Go web application with GolangCI-Lint integration for enforcing coding standards.
91
This project is a Go web application with GolangCI-Lint integration for enforcing coding standards.
GitHub repo : https://github.com/itsbharatsaini/go-app
Follow these steps to run the Go application locally:
Clone this repository to your local machine:
git clone https://github.com/itsbharatsaini/go-app.git
Navigate to the project directory:
cd go-app
Build the Go application:
go build -o <output-file-name>
Run the Go application:
./<output-file-name>
golangci-lint run
This command will execute all the configured linters and display any linting errors or warnings.
docker build -t <image-name> .
Replace <image-name> with the desired name for your Docker image.
docker run -p 8080:8080 <image-name>
Once the Docker container is running, you can access the application at http://localhost:8080 in your web browser.
Content type
Image
Digest
sha256:f09881439…
Size
103.2 MB
Last updated
over 2 years ago
docker pull itsbharatsaini/go-app