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 description of this basic says: A var declaration can include initializers, one per variable. If an initializer is present, the type can be omitted; the variable will take the type of the initializer.
But in the code the integer declaration appears as: var i, j int = 1, 2
It's a small change, but maybe leave it as: var i, j = 1, 2 would make it clearer what is meant.
The text was updated successfully, but these errors were encountered:
Context: https://go-tour-lat.appspot.com/basics/9
The description of this basic says:
A var declaration can include initializers, one per variable. If an initializer is present, the type can be omitted; the variable will take the type of the initializer.
But in the code the integer declaration appears as:
var i, j int = 1, 2
It's a small change, but maybe leave it as:
var i, j = 1, 2
would make it clearer what is meant.The text was updated successfully, but these errors were encountered: