Sunday last commit

This commit is contained in:
Aliberk Sandıkçı 2023-07-30 14:38:14 +03:00
parent e4ba617fc5
commit c544c6e3fa
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1
2 changed files with 1 additions and 5 deletions

View file

@ -28,12 +28,10 @@ func main() {
log.Print("- - - - - - - - - - - - - - -")
log.Print("daemon started")
log.Print("log1")
for true {
Info()
log.Print("log2")
time.Sleep(100 * time.Millisecond)
time.Sleep(1000 * time.Second)
}
}

View file

@ -8,8 +8,6 @@ import (
"time"
)
const ProgramName = "go-daemon"
func checkExists(path string) (bool, error) {
_, err := os.Stat(path)
if err == nil {