Created
May 20, 2016 12:08
-
-
Save Endika/ed6cf4098229468ebccd6d2d187dea0c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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