aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/exercises/variables1.go12
-rw-r--r--src/main.go1
2 files changed, 13 insertions, 0 deletions
diff --git a/src/exercises/variables1.go b/src/exercises/variables1.go
new file mode 100644
index 0000000..d527727
--- /dev/null
+++ b/src/exercises/variables1.go
@@ -0,0 +1,12 @@
+// variables1.go
+// Make me compile!
+
+// I AM NOT DONE
+package main
+
+import "fmt"
+
+func main() {
+ x = 5
+ fmt.Println("x has the value %i", x)
+}
diff --git a/src/main.go b/src/main.go
new file mode 100644
index 0000000..06ab7d0
--- /dev/null
+++ b/src/main.go
@@ -0,0 +1 @@
+package main