switchupcb/xstruct

xstruct extracts any package's structs, functions, or global variables to a single file.

27
/ 100
Experimental

When developing Go applications, this tool helps you consolidate specific code elements from various packages into one file. You provide the directory containing your Go packages, and it outputs a single .go file containing all the extracted structs, functions, or global variables. This is useful for Go developers who need to manage or refactor their codebase more efficiently.

No commits in the last 6 months.

Use this if you are a Go developer needing to extract and consolidate specific Go code components (structs, functions, global variables) from multiple packages into a single file for easier management or code generation.

Not ideal if you are not working with Go programming or you need a solution for comprehensive code refactoring beyond simple extraction and consolidation.

Go-development code-refactoring code-generation software-engineering developer-tooling
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 5 / 25
Maturity 16 / 25
Community 6 / 25

How are scores calculated?

Stars

14

Forks

1

Language

Go

License

AGPL-3.0

Last pushed

Mar 11, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/switchupcb/xstruct"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.