Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
TaskCode ExampleReference
Creating an insurance of a struct

type Student struct {
	Name string
	Age  int
}

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