aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-104/abigail/README.md1
-rw-r--r--challenge-104/abigail/go/ch-1.go16
2 files changed, 17 insertions, 0 deletions
diff --git a/challenge-104/abigail/README.md b/challenge-104/abigail/README.md
index cd806d9580..be78ee76e2 100644
--- a/challenge-104/abigail/README.md
+++ b/challenge-104/abigail/README.md
@@ -29,6 +29,7 @@ even handle a single if statement. A single print statement is enough.
* [Cobol](cobol/ch-1.cb)
* [Forth](forth/ch-1.fs)
* [Fortran](fortran/ch-1.f90)
+* [Go](go/ch-1.go)
* [Lua](lua/ch-1.lua)
* [Node.js](node/ch-1.js)
* [Perl](perl/ch-1.pl)
diff --git a/challenge-104/abigail/go/ch-1.go b/challenge-104/abigail/go/ch-1.go
new file mode 100644
index 0000000000..ef5d6fb291
--- /dev/null
+++ b/challenge-104/abigail/go/ch-1.go
@@ -0,0 +1,16 @@
+package main
+
+//
+// See ../README.md
+//
+
+//
+// Run as: go run ch-1.go
+//
+
+import "fmt"
+
+func main () {
+ fmt . Print ("0 1 1 2 1 3 2 3 1 4 3 5 2 5 3 4 1 5 4 7 3 8 5 7 2 7 ")
+ fmt . Print ("5 8 3 7 4 5 1 6 5 9 4 11 7 10 3 11 8 13 5 12 7 9 2 9\n")
+}