mirror of
https://github.com/RussellChamp/advent-of-code-2021.git
synced 2026-10-28 06:02:31 +00:00
day 16 part 1
This commit is contained in:
1 parent
4737afa383
commit
0c277a8404
11 files changed
+463
-1
No files matched your search
@@ -6,6 +6,14 @@ import (
|
||||
"os"
|
||||
)
|
||||
|
||||
// func short_read() {
|
||||
// dat, err := os.Open("./short_file.txt")
|
||||
// tryMe(err)
|
||||
// defer dat.Close()
|
||||
|
||||
// bytes := ??
|
||||
// }
|
||||
|
||||
func tryMe(e error) {
|
||||
if e != nil {
|
||||
fmt.Println("OH SNAP!")
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
abcd
|
||||
Reference in new issue
Block a user