Y
Hacker News
new
|
ask
|
show
|
jobs
by
shhsshs
975 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
974 days ago
Oh dang, that's neat! Thank you!
link