zzfima / GO-Fast-Full-Tutorial

GO Fast Full Tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GO-Fast-Full-Tutorial

from: https://www.youtube.com/watch?v=8uiZC0l4Ajw

  • Structure of golang project: Module -> Inside of module there is packaged -> inside of package there is *.go files

  • Create a Go Module: Navigate to the root of your project (where you want to define the Go module) and run: go mod init 'module-name'

  • Create executable main.exe: go build .\cmd\main.go

  • Create executable main.exe and run: go run .\cmd\main.go

About

GO Fast Full Tutorial

License:MIT License


Languages

Language:Go 100.0%