Idiomatic Go approach in using interface type

后端 未结 0 934
日久生厌
日久生厌 2021-01-17 16:37

In the below code (log package):

func New(out io.Writer, prefix string, flag int) *Logger {
    return &Logger{out: out, prefix: prefix, flag         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题