> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trunk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# gokart

> gokart is a linter for Go

[**gokart**](https://github.com/praetorian-inc/gokart) is a linter for Go.

You can enable the gokart linter with:

```shell theme={null}
trunk check enable gokart
```

## Auto Enabling

gokart will be auto-enabled if a `analyzers.yml` config file is present.

## Settings

gokart supports the following config files:

* `analyzers.yml`

You can move these files to `.trunk/configs` and `trunk check` will still find them. See [Moving Linters](../configure-linters#moving-linters) for more info. Trunk Code Quality provides a default `analyzers.yml` if your project does not already have one.

## Links

* [gokart site](https://github.com/praetorian-inc/gokart)
* gokart Trunk Code Quality [integration source](https://github.com/trunk-io/plugins/tree/main/linters/gokart)
* Trunk Code Quality's [open source plugins repo](https://github.com/trunk-io/plugins/tree/main)
