rikeda71/foggo
generator of functional option pattern code to Golang code
This tool helps Go developers automatically generate boilerplate code for configuring structs. You define a Go struct, and it outputs code that allows you to create instances of that struct using a clean, extensible "Functional Option Pattern" or "Applicable Functional Option Pattern." It's designed for Go developers who frequently write APIs or services requiring flexible object initialization.
Use this if you are a Go developer building libraries, APIs, or applications and want to easily implement the Functional Option Pattern for configurable struct creation without writing repetitive code manually.
Not ideal if you are not a Go developer, or if your Go project does not benefit from using the Functional Option Pattern for object construction.
Stars
25
Forks
2
Language
Go
License
MIT
Category
Last pushed
Mar 16, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/rikeda71/foggo"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
googleapis/gapic-generator-python
Generate Python API client libraries from Protocol Buffers.
zeromicro/go-zero
A cloud-native Go microservices framework with cli tool for productivity.
omissis/go-jsonschema
A tool to generate Go data types from JSON Schema definitions.
openconfig/ygot
A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling
mailru/easyjson
Fast JSON serializer for golang.