#go
Read more stories on Hashnode
Articles with this tag
Embedded struct Go is not an object-oriented language. However, embedded structs provide a kind of data-only inheritance that can be useful at times....
package main //all go files in a same folder must have same pkg name import "fmt" func main() { fmt.Println("hello gopher!") } The build file is big...