bytes.Buffer Not Working with bufio.NewScanner

前端 未结 0 1427
余生分开走
余生分开走 2020-12-12 11:39

I want to use dependency injection in place of os.Stdin so that I can practice TDD. Based on this answer, I should use bufio.NewScanner(). The scan

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