You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The page simply has "a Struct is a collection of fields".
Based on the information of a Go struct i have learned from other sources is:
type [Name] struct {
[var name] type
[var name] type
}
One example that can help fellow newbies to the language is to have an example of a book or a beverage, as these structs are simple and allow themselves to be reused for further code examples.
It would be helpful to have more information on the page.
The text was updated successfully, but these errors were encountered:
Context: https://go.dev/tour/moretypes/2
The page simply has "a Struct is a collection of fields".
Based on the information of a Go struct i have learned from other sources is:
One example that can help fellow newbies to the language is to have an example of a book or a beverage, as these structs are simple and allow themselves to be reused for further code examples.
It would be helpful to have more information on the page.
The text was updated successfully, but these errors were encountered: