Categorygithub.com/baim0205/learning-golang
repository
0.0.0-20241006131827-c4b64c4a2e66
Repository: https://github.com/baim0205/learning-golang.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

Learning-golang

Learning-golang

Go Installation Guide for macOS

With these steps, you have installed Go using Homebrew and configured the PATH for both bash and zsh. Make sure to adjust accordingly based on your shell. After completing these steps, check the Go version to confirm a successful installation.

Install Homebrew

If you don't have Homebrew installed, you can install it by running the following command in the terminal:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

brew install go

echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bash_profile
source ~/.bash_profile

echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.zshrc
source ~/.zshrc

go version