reader.ReadString does not strip out the first occurrence of delim

前端 未结 4 1200
执念已碎
执念已碎 2020-12-07 04:27

I wrote a simple go program and it isn\'t working as it should:

package main

import (
    \"bufio\"
    \"fmt\"
    \"os\"
)

func main() {
    reader := bu         


        
4条回答
提交回复
热议问题