Codebase list golang-github-mattn-go-colorable / e1bb79c
Merge pull request #63 from naoyukis/delete_buf delete buf mattn authored 2 years ago GitHub committed 2 years ago
1 changed file(s) with 0 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
4141 continue
4242 }
4343
44 var buf bytes.Buffer
4544 for {
4645 c, err := er.ReadByte()
4746 if err != nil {
5049 if ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || c == '@' {
5150 break
5251 }
53 buf.Write([]byte(string(c)))
5452 }
5553 }
5654