Answer the question
In order to leave comments, you need to log in
What should be passed as the first argument to os.NewFile?
https://golang.org/pkg/os/#NewFile
I can't figure out what the first argument is being passed here. did so
os.Mkdir("logs", 0777)
os.NewFile(0777, "logs/err.log")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question