GO sample file
go_sample_file_1MB.go
1.0 MB
application/octet-stream
SHA256 verified
File details
Filename
go_sample_file_1MB.goSize1.0 MB (1048576 bytes)
MIME type
application/octet-streamExtension
.goSHA256
a9d739e17ac0318464cd2f166d5268f08191ea701b27f9e54556e0ee3c2c2d44Download commands
Use in scripts and tests
curl -L -o go_sample_file_1MB.go \
https://samplefile.com/samples/download/code/go/go_sample_file_1MB.go/
wget -O go_sample_file_1MB.go \
https://samplefile.com/samples/download/code/go/go_sample_file_1MB.go/
import requests
url = "https://samplefile.com/samples/download/code/go/go_sample_file_1MB.go/"
resp = requests.get(url)
with open("go_sample_file_1MB.go", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/code/go/go_sample_file_1MB.go/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("go_sample_file_1MB.go", buf);
# Download and verify SHA256
curl -L -o go_sample_file_1MB.go https://samplefile.com/samples/download/code/go/go_sample_file_1MB.go/
echo "a9d739e17ac0318464cd2f166d5268f08191ea701b27f9e54556e0ee3c2c2d44 go_sample_file_1MB.go" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/code/go/go_sample_file_1MB.go/").content
assert hashlib.sha256(data).hexdigest() == "a9d739e17ac0318464cd2f166d5268f08191ea701b27f9e54556e0ee3c2c2d44"
More GO files
Other GO Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
go_sample_file_200KB.go |
200.0 KB | 55324d788099afba… |
Download |
go_sample_file_2MB.go |
2.0 MB | 6dcadd9b42e63e0f… |
Download |
go_sample_file_500KB.go |
500.0 KB | 53367f7ab378e077… |
Download |
go_sample_file_50KB.go |
50.0 KB | 3c31eb6863618043… |
Download |
go_sample_file_5MB.go |
5.0 MB | 796129ab7dcec41d… |
Download |
Learn more