From d6f85b6eaf679c814de6cc03d268632e56e70db8 Mon Sep 17 00:00:00 2001 From: solomon1987 <48348089+solomon1987@users.noreply.github.com> Date: Tue, 26 Oct 2021 10:58:56 +0800 Subject: [PATCH] Update common.go --- common/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/common.go b/common/common.go index 0f59c42..1ab20cf 100644 --- a/common/common.go +++ b/common/common.go @@ -23,7 +23,7 @@ func WriteFile(file string, data string) error { if _, err := os.Stat(file); os.IsNotExist(err) { flag |= os.O_CREATE } - f, err := os.OpenFile(file, flag, 0o644) + f, err := os.OpenFile(file, flag, 0644) if err != nil { return err }