frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Foggo – CLI Tool for Auto Generation of Go's Functional Option Pattern

https://github.com/rikeda71/foggo
3•rikeda71•15h ago
Hi Hacker News,

I've been relying on the Functional Option pattern to build clean, flexible constructors for my Go projects, but the constant need to write repetitive boilerplate for every struct became tedious and error-prone.

I built *foggo* to solve this pain point.

It's a simple, zero-dependency CLI tool that reads your configuration structs and automatically generates all the necessary, idiomatic Go code for the Functional Option pattern.

### Key Benefits: * *Massive Boilerplate Reduction:* Eliminates the manual work of writing option functions, making your code more focused on business logic. * *Consistency:* Ensures all your constructors adhere to the same, robust pattern across the entire project. * *Speed:* You define the struct, run `foggo`, and the pattern is instantly ready.

I primarily designed this for fellow Go library and package maintainers looking to standardize their configuration setup.

I'd love to hear your feedback on the utility and design of the tool, especially concerning its syntax or how it handles edge cases.

Thanks for checking it out!

*GitHub Repository:* https://github.com/rikeda71/foggo

Show HN: Gemini Pro 3 hallucinates the HN front page 10 years from now

https://dosaygo-studio.github.io/hn-front-page-2035/news
2297•keepamovin•15h ago•720 comments

Show HN: DskDitto

https://github.com/jdefrancesco/dskDitto
2•jdefr89•52m ago•0 comments

Show HN: AlgoDrill – Interactive drills to stop forgetting LeetCode patterns

https://algodrill.io
158•henwfan•19h ago•96 comments

Show HN: Fate, a new data framework for React and tRPC, inspired by Relay

https://github.com/nkzw-tech/fate
11•cpojer•7h ago•0 comments

Show HN: I built a system for active note-taking in regular meetings like 1-1s

https://withdocket.com
158•davnicwil•1d ago•123 comments

Show HN: Detail, a Bug Finder

https://detail.dev/
60•drob•12h ago•26 comments

Show HN: Fanfa – Interactive and animated Mermaid diagrams

https://fanfa.dev/
142•bairess•5d ago•30 comments

Show HN: Qyavix – A 155-byte DOM runtime inspired by React hooks

https://github.com/Yinhao-c/Qyavix
3•yihac1•4h ago•0 comments

Show HN: An an Ad Library/Competitor Tracking for B2B SaaS

https://adkit.so/
2•Jeannen•5h ago•0 comments

Show HN: Beelines - a travelling salesman game, but with bees

https://easel.games/@raysplaceinspace/beelines
2•BSTRhino•5h ago•1 comments

Show HN: Briddle – Guess the AI's semantic path between two words

https://briddle.io/
3•rvranjan•6h ago•1 comments

Show HN: DuckDB for Kafka Stream Processing

https://sql-flow.com/docs/tutorials/intro/
74•dm03514•1d ago•13 comments

Show HN: I got tired of switching AI tools, so I built an IDE with 11 of them

https://hivetechs.io
14•hivetechs•15h ago•13 comments

Show HN: A TSP game I wanted for 10 years - built in 4 hours

https://www.graphhopper.com/blog/2025/12/08/a-tsp-game-10-years-in-the-making-built-in-4-hours/
11•oblonski•16h ago•3 comments

Show HN: Lockenv – Simple encrypted secrets storage for Git

https://github.com/illarion/lockenv
100•shoemann•1d ago•34 comments

Show HN: ReadyKit – Superfast SaaS Starter with Multi-Tenant Workspaces

https://readykit.dev/
120•level09•1w ago•35 comments

Show HN: Pixel text renderer using CSS linear-gradients (no JavaScript)

https://taktek.io
2•nizarmah•11h ago•0 comments

Show HN: Durable Streams – Kafka-style semantics for client streaming over HTTP

https://github.com/durable-streams/durable-streams
6•kylemathews•11h ago•0 comments

Show HN: Advent of Back Ends

https://adventofbackends.vercel.app/
2•rohitghumare•12h ago•0 comments

Show HN: Diesel-guard – Lint Diesel migrations for unsafe PostgreSQL patterns

https://github.com/ayarotsky/diesel-guard
18•ayarotsky•1d ago•0 comments

Show HN: We vibe coded our team's issue tracker, knowledge base, telemetry board

5•bhackett•13h ago•0 comments

Show HN: Octopii, a runtime for writing distributed applications in Rust

https://github.com/octopii-rs/octopii
16•puterbonga•1d ago•0 comments

Show HN: Agentic Reliability Framework – Multi-agent AI self-heals failures

https://github.com/petterjuan/agentic-reliability-framework
3•petter2025us•13h ago•1 comments

Show HN: ZON-TS 50–65% fewer LLM tokens zero parse overhead better than TOON/CSV

https://zonformat.org
2•ronibhakta•13h ago•0 comments

Show HN: Freedom Graph – FI calculator that models sequence-of-returns risk

https://www.freedomgraph.com/
2•Nathanadian•14h ago•0 comments

Show HN: I built a TurboTax for immigration forms

https://immiva.com/
8•mjablons•14h ago•1 comments

Show HN: Foggo – CLI Tool for Auto Generation of Go's Functional Option Pattern

https://github.com/rikeda71/foggo
3•rikeda71•15h ago•0 comments

Show HN: DeChecker – Detect AI-generated text

https://dechecker.ai
5•GrammarChecker•21h ago•2 comments

Show HN: A 3-Tool ETL Pipeline for CSV/TSV/Excel/Parquet in Go

2•mimixbox•15h ago•0 comments

Show HN: I made a nice Anki-app for iOS

https://apps.apple.com/us/app/funky-flashcards/id6755683572
5•quantized_state•15h ago•0 comments