Skip to content

Instantly share code, notes, and snippets.

@Endika
Created May 20, 2016 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Endika/ed6cf4098229468ebccd6d2d187dea0c to your computer and use it in GitHub Desktop.
Save Endika/ed6cf4098229468ebccd6d2d187dea0c to your computer and use it in GitHub Desktop.
package main
import (
"bytes"
"fmt"
)
func main() {
var buffer bytes.Buffer
for i := 0; i < 1000; i++ {
buffer.WriteString("a")
}
fmt.Println(buffer.String())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment