Golang Project Structure - Getting Started with Golang

preview_player
Показать описание
In this Getting Started with Golang, we will learn how to structure a Golang projects directory that capable of handling multiple local packages and how to import this local packages into Golang programming language with step by step guide.

#MaharlikansCode
#GolangProjectStructure
#Golang
#LifeAsSoftwareDeveloper
#Maharlikans
#FilipinoSoftwareDeveloper

Source Codes:
package main

import (
"fmt"
"goprj/helpers"
)

func main() {
fmt.Println("Hello World")
s := helpers.HelloFunc("hello Maharlikans coders!")
fmt.Println("s: ", s)
}

helpers local package:
// Package helpers is the test helper information about this helpers package.
package helpers

func init() {

}

// HelloFunc hello func funtion
func HelloFunc(str string) string {
return str
}
Рекомендации по теме
Комментарии
Автор

Thanks for useful lesson. I am Go beginner in Thailand.

jackwattanapong
Автор

Excellent video! What architectures are you going to use?

oduber.vasquez
welcome to shbcf.ru