Modern Nx plugin to use Go in a Nx workspace
npm install @naxodev/gonx
![MIT]()
![commitizen]()
![PRs]()


- ✅ Generate Go Applications
- ✅ Customizable Go module setup
- ✅ Well-structured Go code scaffolding
- ✅ Generate Go Libraries
- ✅ Full Nx integration
- ✅ Inferred Tasks: Build, Generate, Tidy, Test, Run, and Lint
- ✅ Cacheable Tasks: Build, Generate, Tidy, Test, and Lint
- ✅ GraphV2 Support
- ✅ Version Actions for Go release
- ✅ Nx Release Publish executor to release to list the module on the registry
- ✅ Use official Go commands in the background
- ✅ Efficient caching and dependency graph tools for Go projects
You need to have a stable version of Go installed on your machine. And... you are ready!
``shell`
npx create-nx-workspace go-workspace --preset=@naxodev/gonx
`shell``
nx add @naxodev/gonx
To read the full documentation, check out the docs site.
Thanks goes to these wonderful people (emoji key):
Nacho Vazquez 🐛 💻 📖 💡 🤔 🧑🏫 🚧 📆 👀 | Abel Penton 💻 📖 | Wenzel 💻 | Miguel 💻 |
This project is a fork of nx-go, a plugin for Nx that provides tools for building Go applications. Most credit goes to the original maintainers of nx-go - we've built upon their excellent foundation to modernize the plugin for the latest Nx features.