Writing Struct literals in Go
E.g.
1Customer{
2 Name: "John Arundel",
3 Email: "john.arundel@gmail.com",
4}
References
- John Arundel, For the Love of Go
#programming #type #golang #composite #struct #github #for_the_love_of_go #documentation
E.g.
1Customer{
2 Name: "John Arundel",
3 Email: "john.arundel@gmail.com",
4}
#programming #type #golang #composite #struct #github #for_the_love_of_go #documentation