---
title: "Discussion on \"How to fix the \"G101: Potential hardcoded credentials (gosec)\"\" | Hashnode"
description: "Discussion on \"How to fix the \"G101: Potential hardcoded credentials (gosec)\"\". Crash course in fixing a \"gosec\" Golang linter issue"
url: "https://hashnode.com/posts/how-to-fix-the-g101-potential-hardcoded-credentials-gosec/6651da58e4058e8499584d28"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to fix the "G101: Potential hardcoded credentials (gosec)"](https://blog.skopow.ski/how-to-fix-the-g101-potential-hardcoded-credentials-gosec?utm_source=hashnode&utm_medium=feed)

Crash course in fixing a "gosec" Golang linter issue

May 25, 2024 · 2 min read · blog.skopow.ski  
Read the article

-   [#golang](https://hashnode.com/tag/golang)
-   [#linter](https://hashnode.com/tag/linter)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#tips](https://hashnode.com/tag/tips)
-   [#tips-for-developers](https://hashnode.com/tag/tips-for-developers)

## Written by

[Marek Skopowski](https://hashnode.com/@flashlabs)

@flashlabs

  
[View profile](https://hashnode.com/@flashlabs)

Keep It Simple, Stupid!

Software Engineer &amp; Architect - building backend systems and practical AI workflows.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
