aboutsummaryrefslogtreecommitdiff
path: root/2019/six.go
diff options
context:
space:
mode:
authorj-james2020-12-01 05:17:13 +0000
committerj-james2020-12-01 05:17:13 +0000
commitb23ea9372ae92b2add77213393041c62cba9a75b (patch)
tree0e4deb435849ff5a5fb0a4ce93bcd5beac5f386c /2019/six.go
parent73f5728472dc5ffba612b0aead3126c63dd8b7d2 (diff)
Move 2019 Advent of Code work into its own folder
Diffstat (limited to '2019/six.go')
-rw-r--r--2019/six.go25
1 files changed, 25 insertions, 0 deletions
diff --git a/2019/six.go b/2019/six.go
new file mode 100644
index 0000000..646313d
--- /dev/null
+++ b/2019/six.go
@@ -0,0 +1,25 @@
+package main
+
+import (
+ "io/ioutil"
+ "os"
+)
+
+func main() {
+ if len(os.Args) < 2 {
+ panic("runtime error: missing operand")
+ }
+ file, err := ioutil.ReadFile(os.Args[1])
+ if err != nil {
+ panic(err)
+ }
+
+ for i := 0
+}
+
+func orbits(planet string) []string {
+
+ var chain []string
+
+ return chain
+}