anarchymonkey / learn_golang

go programming language | beginner | advanced | comprehensive | repository | syntax | data types | concurrency | web development | interactive code examples | tutorials | challenges | practice | skills | updated regularly | latest information | best practices.

Home Page:https://go.dev/doc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

learn_golang

This consists of all the codes in the golang tutorial -> https://go.dev/doc/tutorial/

  • Things that I have learnt

    • How to create a go file
      • Step 1: Create a folder mkdir <folderName>
      • Step 2: Go inside that folder & run cmd as go mod init <domain>/<packageName>
      • Step 3: Create a go module by creating a new file [fileName].go
      • Step 4: Write some basic go code in it and to run it type go run . or go run <fileName>
  • Important go commands

    • go mod init
    • go mod edit
    • go run
    • go test
    • go build
    • go install
  • Continued...

About

go programming language | beginner | advanced | comprehensive | repository | syntax | data types | concurrency | web development | interactive code examples | tutorials | challenges | practice | skills | updated regularly | latest information | best practices.

https://go.dev/doc/

License:MIT License


Languages

Language:Go 99.2%Language:HTML 0.8%