Skip to content

Lantero/go-lessons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-lessons

My own golang playground

1. How to install/upgrade go

  1. Uninstall existing version: sudo rm -rf /usr/local/go.

  2. Download TGZ from https://go.dev/dl/.

  3. Extract new version: sudo tar -C /usr/local -xzf /home/carlos/Downloads/go1.22.1.linux-amd64.tar.gz.

  4. Make sure your PATH contains /usr/local/go/bin and /home/carlos/go:

    • echo $PATH | grep "/usr/local/go/bin"

2. Visual Studio Code support

image

3. Initializing a project

  1. Create a folder in your repository, like mkdir project.

  2. Once inside that directory, run go mod init github.com/lantero/go-lessons/project.

About

My own golang playground

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published