How to install zeromicro/go-zero. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
zeromicro/go-zero Installation Guide
How to install zeromicro/go-zero. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for zeromicro/go-zero. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i zeromicro/go-zeroor
Install via npx
npx @hexmos/ipm i zeromicro/go-zeroPrerequisites
Go
languageVersion: >=1.16
Docker
system_toolFor containerization and deployment.
Git
system_toolVersion control system for code management.
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Go Installation via Go Modules and `goctl`
go get -u github.com/zeromicro/go-zero
goctl go -api greet.api -dir greetPost Installation Steps
- Run the following command to start the server: `go run main.go`
- To access the API, use the following endpoint: `http://localhost:8080/api/v1/`.
