We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfaf283 commit af4c728Copy full SHA for af4c728
codes/ch1_var-types-pointer-constants/helloworld.go
@@ -21,6 +21,8 @@ func main() {
21
/**
22
* Declare a variable with string type and assign a string value to it;
23
* Type is optional.
24
+ *
25
+ * Note: Declaring variable and do not use is an error in Go
26
*/
27
var message string
28
message = "Welcome to Go World!"
0 commit comments