\\n\"\n}\n[/block]\n\n\n**Language / Framework:** Go \n**Checks:** 22 \n**Categories:** Style \n**Go Version:** 1.9.2\n\n[golint](https://github.com/golang/lint) was created by the Go team at Google. It is a linter for Go code that suggests style issues that may need to be addressed.\n\n## Enable the Plugin\n\nTo enable golint for your project, add the following to your `.codeclimate.yml` configuration file:\n\n```\nplugins:\n golint:\n enabled: true\n```\n\n**More information about the CLI is available in the README here: **\n\n## Configure the Plugin\n\nGolint assigns a confidence score to issues it finds: you can configure the minimum confidence of issues to report. The default value is 0.8.\n\n```\nplugins:\n golint:\n enabled: true\n config:\n min_confidence: 0.9\n```\n\n## Understand the Plugin\n\n> \"Golint differs from gofmt. Gofmt reformats Go source code, whereas golint prints out style mistakes.\"\n>\n> \"Golint differs from govet. Govet is concerned with correctness, whereas golint is concerned with coding style. Golint is in use at Google, and it seeks to match the accepted style of the open source Go project.\"\n\nFrom the official documentation.","order":22,"isReference":false,"deprecated":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"reusableContent":[],"previousSlug":"","slugUpdatedAt":"2023-02-23T06:44:26.073Z","revision":4,"_id":"57e17235463a9120006d6ee6","user":"6802655ea0c31b0038c71658","createdAt":"2015-12-01T16:51:41.290Z","version":"57e17235463a9120006d6e7f","githubsync":"","__v":2,"project":"57e17235463a9120006d6e7d","category":"57e17235463a9120006d6e81","parentDoc":null,"updatedAt":"2025-04-30T15:45:24.134Z","lastUpdatedHash":"59025c16fa46943e7455e4f90326545652b02ced","isApi":false,"id":"57e17235463a9120006d6ee6"},"meta":{"slug":"golint","type":"docs","parent":null,"image":[],"title":"golint","title_seo":"golint","description":"⚠️ Code Climate Quality is being replaced with Qlty Cloud — New users should sign up directly at qlty.sh.— To migrate an existing account, please see our Migration Guide. 🚧 This plugin is now deprecated The golint plugin is now deprecated and unmaintained. Language / Framework: GoChecks: 22Categori...","_id":"57e17235463a9120006d6ee6","hidden":false},"config":{"algoliaIndex":"readme_search_v2","amplitude":{"apiKey":"dc8065a65ef83d6ad23e37aaf014fc84","enabled":true},"asset_url":"https://cdn.readme.io","domain":"readme.io","domainFull":"https://dash.readme.com","encryptedLocalStorageKey":"ekfls-2025-03-27","fullstory":{"enabled":true,"orgId":"FSV9A"},"metrics":{"billingCronEnabled":"true","dashUrl":"https://m.readme.io","defaultUrl":"https://m.readme.io","exportMaxRetries":12,"wsUrl":"wss://m.readme.io"},"proxyUrl":"https://try.readme.io","readmeRecaptchaSiteKey":"6LesVBYpAAAAAESOCHOyo2kF9SZXPVb54Nwf3i2x","releaseVersion":"5.394.0","sentry":{"dsn":"https://3bbe57a973254129bcb93e47dc0cc46f@o343074.ingest.sentry.io/2052166","enabled":true},"shMigration":{"promoVideo":"","forceWaitlist":false,"migrationPreview":false},"sslBaseDomain":"readmessl.com","sslGenerationService":"ssl.readmessl.com","stripePk":"pk_live_5103PML2qXbDukVh7GDAkQoR4NSuLqy8idd5xtdm9407XdPR6o3bo663C1ruEGhXJjpnb2YCpj8EU1UvQYanuCjtr00t1DRCf2a","superHub":{"newProjectsEnabled":true},"wootric":{"accountToken":"NPS-122b75a4","enabled":true}},"context":{"labs":{},"user":{},"terms":[],"variables":{"user":{},"defaults":[]},"project":{"_id":"57e17235463a9120006d6e7d","appearance":{"hideTableOfContents":false,"javascript":"","showVersion":true,"header":{"img_pos":"tl","img_size":"auto","img":[],"style":"solid","linkStyle":"buttons"},"hide_logo":true,"html_footer":"","logo":["https://files.readme.io/XZInkgKTAerd7E4rjoUh_code-climate-logo.png","code-climate-logo.png","280","80","#241c24","https://files.readme.io/2ElCNFp1SWLds6tdHhFX_code-climate-logo.png"],"promos":[{"extras":{"type":"html","buttonPrimary":"get-started","buttonSecondary":""},"title":"Code Climate Quality Documentation","text":"","_id":"5653462e0672922b003be690"}],"html_footer_meta":"","html_promo":"\n
\n \n\n
\n \n
\n ⚠️\n Code Climate Quality is being replaced with Qlty Cloud\n
\n \n
\n
\n — New users should sign up directly at qlty.sh\n
\n
\n — To migrate an existing account, please see our Migration Guide\n
\n
\n \n
\n\n\n
\n
\n
\n\n\n Need help with Code Climate Quality?Look no further.\n