golang new object code example
Example 1: go create new instance of struct
type Person struct {
Name string
}
func main() {
var me Person
me.name = "mattalui"
}
Example 2: c# new object
//Declaring a new object of type Galaxy.
Galaxy aGalaxy = new Galaxy();