Prompt Setup

Go Linting Setup

Configure golangci-lint with appropriate linters for the project.

go
Insert label Linting
Prompt

Set up golangci-lint for this Go project. Create a .golangci.yml config, enable useful linters (errcheck, govet, staticcheck, unused, gosec), configure reasonable exclusions, and add a Makefile target or CI step to run it. Fix any issues the linters find.

Add this to your Facet Inserts in Crystl for one-click access.

Get Crystl