typeMyStructstruct{IDstringValfloat64Createdtime.Time}obj1:=MyStruct{"Derp",42.0,time.Now()}fmt.Printf("%#v",obj1)// verbose outputID1:=obj1.ID// access single values with dot notation// alternative declaration omitting valuesobj2:=MyStruct{ID:"Derp",Val:42.0}// declaration without any assigment, only defaultsvarobj3MyStruct