mirror of
https://github.com/elicpeter/nyx.git
synced 2026-07-06 20:42:10 +02:00
11 lines
138 B
Go
11 lines
138 B
Go
package main
|
|||
|
|||
import "os"
|
|||
|
|||
func safeRead(path string) {
|
|||
f, _ := os.Open(path)
|
|||
defer f.Close()
|
|||
buf := make([]byte, 1024)
|
|||
f.Read(buf)
|
|||
}
|