- 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
- Use official Go commands in the background
- Dependency detection via tree-sitter static analysis (no Go required)
You need to have a stable version of Go installed on your machine. And... you are ready!
npx create-nx-workspace go-workspace --preset=@naxodev/gonxnx add @naxodev/gonxConfigure the plugin in your nx.json:
{
"plugins": [
{
"plugin": "@naxodev/gonx",
"options": {}
}
]
}| Option | Type | Default | Description |
|---|---|---|---|
skipGoDependencyCheck |
boolean | false |
Disable dependency detection entirely |
See Dependency Detection for details on how dependencies between Go projects are resolved.
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.