3 ms·
But := is not "assignment" per se in Go, it is 'declare and assign'. Something like auto x = 2; in modern C++ (or C#); If you declare a variable, then x = 2; w
by raverbashing 9y ago
But := is not "assignment" per se in Go, it is 'declare and assign'. Something like auto x = 2; in modern C++ (or C#);
If you declare a variable, then x = 2; works in Go.