Code optimized (#493)
This commit is contained in:
@@ -10,9 +10,7 @@ import (
|
||||
"github.com/logrusorgru/aurora"
|
||||
)
|
||||
|
||||
const (
|
||||
NL = "\n"
|
||||
)
|
||||
const NL = "\n"
|
||||
|
||||
func CreateIfNotExist(file string) (*os.File, error) {
|
||||
_, err := os.Stat(file)
|
||||
|
||||
Reference in New Issue
Block a user