Learning-Go-zh-cn icon indicating copy to clipboard operation
Learning-Go-zh-cn copied to clipboard

go-basics.tex 中的 os.Open 用法有错误

Open oska874 opened this issue 8 years ago • 0 comments

\begin{lstlisting}
f, err := os.Open(name, os.O_RDONLY, 0)
if err != nil {
    return err
}

此处 os.Open 的参数应该只有一个

oska874 avatar Mar 02 '16 08:03 oska874