day 16 part 1

This commit is contained in:
RussellChamp committed 2021-12-16 15:54:05 -05:00
1 parent 4737afa383
commit 0c277a8404
11 files changed
+463 -1

No files matched your search

+8
View File
@@ -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!")