On Mon, Jun 20, 2016 at 5:57 PM, Bryan Reynaert wrote:
>
> the following code panics with: runtime error: slice bounds out of range
>
>
> var testTransform = transform.Chain(norm.NFD, norm.NFC)
>
> func main() {
> for i := 0; i < 200; i++ {
> go func() {
>
Dear all,
the following code panics with: runtime error: slice bounds out of range
var testTransform = transform.Chain(norm.NFD, norm.NFC)
func main() {
for i := 0; i < 200; i++ {
go func() {
transform.String(testTransform, "nonemptystring")
}()
}
time.Sleep(time.Second)
}
The reason is