Go

Go-scrub: Scrubbing sensitive fields from a deeply nested Go struct

Hacker News

Go-scrub: Scrubbing sensitive fields from a deeply nested Go struct

Go-scrub is a utility to mask a given set of field names from a deeply nested struct at any level. It is useful for logging structs which may have customer inputs (such as passwords, keys, etc.). It uses the "reflect" package to modify the struct values at runtime. Code: https://github.com/ssrathi/go-scrub Blog post with an explanation: https://www.nutanix.dev/2022/04/22/golang-the-art-of-reflect...

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsMay not resonate with HN audience · Strong signals: io · Missing: https docs, excited, just released
47%47% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
45%45% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Strong signals: code · Missing: mac, agents, macos
41%41% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
41%41% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
25%25% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
22%22% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
7%7% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

De
Deep_pluck: Allow you to pluck deeply into nested associations in Rails51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Deep_pluck: Allow you to pluck deeply into nested associations in Rails

Hacker News1
Ga
Garbage collector-sensitive trie in Go39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Garbage collector-sensitive trie in Go

Hacker News9
Th
The jq REPL for digging deeply into JSON, ijq66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

The jq REPL for digging deeply into JSON, ijq

Hacker News6
ho
how to approach sensitive conversations46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

how to approach sensitive conversations

Hacker News32
Fl
FlexDict – Deeply Nested Python Dictionaries with Ease45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

FlexDict – Deeply Nested Python Dictionaries with Ease

Hacker News16
In
Invest systematically in deeply undervalued companies50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Invest systematically in deeply undervalued companies

Hacker News3
AI
AI that deeply understands you codebase45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AI that deeply understands you codebase

Hacker News5
Core Keywords
Core Keywords21%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Smart Naming, Deeply Rooted in Culture.

Indie Hackerscommitment-full-time
Dataset Sample Anonymizer CLI
Dataset Sample Anonymizer CLI18%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Share data samples without exposing sensitive fields

Indie Hackers
De
Deeply discounted deals when you invite others to buy32%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Deeply discounted deals when you invite others to buy

Hacker News2