You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

TaskCode ExampleReference
Creating an insurance of a struct
type Student struct {
	Name string
	Age  int
}

b := Student{ Name: "Bob", }
link
























  • No labels