{"id":66443,"library":"ecordell-optgen","title":"Optgen","description":"A code generation tool for functional options pattern in Go.","status":"active","version":"0.2.6","language":"go","source_language":null,"source_url":"https://github.com/ecordell/optgen","tags":["codegen","options","functional","generator"],"install":[{"cmd":"go get github.com/ecordell/optgen","lang":"bash","label":"Install github.com/ecordell/optgen"}],"dependencies":[],"imports":[{"symbol":"optgen","correct":"github.com/ecordell/optgen"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/ecordell/optgen\"\n)\n\nfunc main() {\n\t// optgen is typically used as a command-line tool, not as a library.\n\tfmt.Println(\"See https://github.com/ecordell/optgen for usage.\")\n}","lang":"go","description":"Generate functional options code using optgen."},"warnings":[{"fix":"Use the command-line tool instead of importing the package.","message":"This package is primarily a CLI tool; importing it as a library may not be intended.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'code':3 'codegen':12 'function':7,14 'generat':4,15 'go':11 'optgen':1 'option':8,13 'pattern':9 'tool':5","created_at":"2026-06-17T17:23:51.266579+00:00","updated_at":"2026-06-17T17:23:51.266579+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/ecordell/optgen","github":"https://github.com/ecordell/optgen","docs":"https://pkg.go.dev/github.com/ecordell/optgen#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}