GO sample file
go_sample_file_5MB.go
5.0 MB
application/octet-stream
SHA256 verified
File details
Filename
go_sample_file_5MB.goSize5.0 MB (5242944 bytes)
MIME type
application/octet-streamExtension
.goSHA256
796129ab7dcec41d1d169e722be5c9b010a2df63f9839ca6eb43dbe627f47af3Download commands
Use in scripts and tests
curl -L -o go_sample_file_5MB.go \
https://samplefile.com/samples/download/code/go/go_sample_file_5MB.go/
wget -O go_sample_file_5MB.go \
https://samplefile.com/samples/download/code/go/go_sample_file_5MB.go/
import requests
url = "https://samplefile.com/samples/download/code/go/go_sample_file_5MB.go/"
resp = requests.get(url)
with open("go_sample_file_5MB.go", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/code/go/go_sample_file_5MB.go/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("go_sample_file_5MB.go", buf);
# Download and verify SHA256
curl -L -o go_sample_file_5MB.go https://samplefile.com/samples/download/code/go/go_sample_file_5MB.go/
echo "796129ab7dcec41d1d169e722be5c9b010a2df63f9839ca6eb43dbe627f47af3 go_sample_file_5MB.go" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/code/go/go_sample_file_5MB.go/").content
assert hashlib.sha256(data).hexdigest() == "796129ab7dcec41d1d169e722be5c9b010a2df63f9839ca6eb43dbe627f47af3"
More GO files
Other GO Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
go_sample_file_1MB.go |
1.0 MB | a9d739e17ac03184… |
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 |
Learn more