Notice the single quote
b := []byte{'T', 'e', 'a', 'm'}
stringByte := []byte("Team")
for idx := 0; idx < 27; idx++ {
b = append(b, ' ')
}
September 8, 2019 ~ 1 min read
Notice the single quote
b := []byte{'T', 'e', 'a', 'm'}
stringByte := []byte("Team")
for idx := 0; idx < 27; idx++ {
b = append(b, ' ')
}
Hi, I'm Sebastian. I'm a software developer from Costa Rica. You can follow me on Twitter. I enjoy working on distributed systems.