GO sample file
go_sample_file_50KB.go
50.0 KB
application/octet-stream
SHA256 verified
File details
Filename
go_sample_file_50KB.goSize50.0 KB (51200 bytes)
MIME type
application/octet-streamExtension
.goSHA256
3c31eb68636180439730dbbe7809ba0c9d70b3c2b9ba7b25c9b58918f97457b1Download commands
Use in scripts and tests
curl -L -o go_sample_file_50KB.go \
https://samplefile.com/samples/download/code/go/go_sample_file_50KB.go/
wget -O go_sample_file_50KB.go \
https://samplefile.com/samples/download/code/go/go_sample_file_50KB.go/
import requests
url = "https://samplefile.com/samples/download/code/go/go_sample_file_50KB.go/"
resp = requests.get(url)
with open("go_sample_file_50KB.go", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/code/go/go_sample_file_50KB.go/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("go_sample_file_50KB.go", buf);
# Download and verify SHA256
curl -L -o go_sample_file_50KB.go https://samplefile.com/samples/download/code/go/go_sample_file_50KB.go/
echo "3c31eb68636180439730dbbe7809ba0c9d70b3c2b9ba7b25c9b58918f97457b1 go_sample_file_50KB.go" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/code/go/go_sample_file_50KB.go/").content
assert hashlib.sha256(data).hexdigest() == "3c31eb68636180439730dbbe7809ba0c9d70b3c2b9ba7b25c9b58918f97457b1"
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_5MB.go |
5.0 MB | 796129ab7dcec41d… |
Download |
Learn more