Skip to content

Commit de5eb23

Browse files
authored
feat: HatsuniOpener.go opens logs file
1 parent 27c0c11 commit de5eb23

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

HatsuniOpener.go

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package main
2+
3+
import (
4+
"log"
5+
"os"
6+
)
7+
8+
func HatsuniOpener() {
9+
10+
file, err := os.Open("logs.txt")
11+
12+
13+
if err != nil {
14+
log.Fatal("HatsuniOpener não conseguiu abrir o arquivo", file)
15+
}
16+
17+
}

0 commit comments

Comments
 (0)