본 게시글은 Golang Tutorial for Beginners | Full Go Course을 학습하며 작성한 개인 노트입니다.
Variable: stores values
var conferenceName = "Go Conference"
fmt.Println("Welcome to", conferenceName, "booking application!")
variables whose values do not change
const num = 50
fmt.Println(num)
error if attempt to change constant values
printf
fmt.Printf("Hello my name is %s", myName)
Sprintf
var varia = fmt.Sprintf("Hello my name is %v\n", name)
name := "hi"