aboutsummaryrefslogtreecommitdiff
path: root/2019/go/day06.go
blob: 646313d9b7404df155e8bc26f630204ef73fc40c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}