Y
Hacker News
new
|
ask
|
show
|
jobs
by
shhsshs
1139 days ago
The code uses `//go:embed` which actually embeds a fake filesystem into the binary. It’s really easy to miss that part, but it truly is one single binary, despite seeming to reference files by paths.
1 comments
tetsuhamu
1139 days ago
Oh dang, that's neat! Thank you!
link