Created
November 12, 2015 21:00
-
-
Save ross-spencer/6776b33de01c2f5afaf8 to your computer and use it in GitHub Desktop.
Richard's example to make random files Golang
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 "io/ioutil" | |
func main() { | |
bigBuff := make([]byte, 750000000) | |
ioutil.WriteFile("bigfile.test", bigBuff, 0666) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment