Struct Literal



A struct literal denotes a newly allocated struct value by listing the values of its fields.

You can list just a subset of fields by using the Name: syntax. (And the order of named fields is irrelevant.)

The special prefix & returns a pointer to the ...



Read: https://blog.cloudnativefolks.org/struct-literal