Initial commit

This commit is contained in:
2023-12-01 13:48:47 +01:00
commit 33b14154cf
3 changed files with 38 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package main
import (
"fmt"
"log"
"os"
)
func main() {
fmt.Println("Opening file...")
file, err := os.OpenFile("./input.txt", os.O_RDONLY, 0644)
if err != nil {
log.Fatal(err)
}
defer file.Close()
}