docs: Add gofmt to simple example

This commit is contained in:
konstantin 2025-04-03 14:02:19 +02:00 committed by GitHub
parent a5307c8f68
commit 829eba95a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,6 +57,9 @@ jobs:
uses: golangci/golangci-lint-action@v7
with:
version: v2.0
# optionally you can check the formatting with gofmt which (since golanci-lint v2) is no longer a linter
- name: check formatting
run: golangci-lint fmt --diff --enable gofmt
```
</details>