Pointer

Run Settings
LanguageGo
Language Version
Run Command
package main import ( "fmt" ) type Address struct{ alamat string } func main() { var cobaStruct = Address{"sidoarjo"} var cobaStruct2 = &cobaStruct cobaStruct2.alamat = "coba ganti" var cobaMap = map[string]string{ "coba":"oke", } var cobaMap2 = cobaMap cobaMap2["coba"]="oke berubah" // fmt.Println(cobaStruct) // fmt.Println(cobaStruct2) fmt.Println(cobaMap) fmt.Println(cobaMap2) }
Editor Settings
Theme
Key bindings
Full width
Lines