DEV Community

제민욱
제민욱

Posted on

Set up golang project on m3 (2025)

1. Golang download

Download pkg files from golang website.

I'll follow current k8s golang version, not patch version.

  • The package installs the Go distribution to /usr/local/go.
  • The package should put the /usr/local/go/bin directory in your PATH environment variable.

I'll add binary Go path and GOPATH to ~/.zshrc

echo -e "\n# Set Go environment variables\nexport GOPATH=\$HOME/go\nexport PATH=\$PATH:/usr/local/go/bin:\$GOPATH/bin" >> ~/.zshrc
❯ source ~/.zshrc

# checkecho $GOPATHecho $PATH
Enter fullscreen mode Exit fullscreen mode

Then check golang version

❯ go version
go version go1.23.6 darwin/arm64
Enter fullscreen mode Exit fullscreen mode

Download go-blueprint

easy setup

Download go-bleprint globally.

❯ go install github.com/melkeydev/go-blueprint@latest

# check
❯ go-blueprint version
Go Blueprint CLI version: v0.10.5
Enter fullscreen mode Exit fullscreen mode

Create command via ui by checking options what you want to build.

Go Blueprint UI

Image description

FYI My project name is athena

Create your project.

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more