status/util.go
2023-10-07 08:24:49 +00:00

13 lines
156 B
Go

package main
import (
"log"
"os"
)
func removeFile(path string) {
err := os.Remove(path)
if err != nil && !os.IsNotExist(err) {
log.Panic(err)
}
}