-
Create from scratch
- Create a folder, for example
test
- Open terminal on
test
then create a go module:$ go mod init test123
- create a go file (.go)
- run the code:
$ go run .
or$ go run filename.go
- Create a folder, for example
-
Create from clone
- clone repo:
$ git clone https://github.com/LintangWisesa/GoLang-101.git
- Initiate go module:
$ go mod init GoLang-101
- clone repo:
Lintang Wisesa 💌 lintangwisesa@ymail.com
Facebook | Twitter | Google+ | Youtube | :octocat: GitHub | Hackster