Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
okibry
36 days ago
|
parent
|
context
|
favorite
| on:
Some Go web dev notes
Which time golang read file, build time or run time ?
nasretdinov
36 days ago
|
next
[–]
embed package allows to embed assets directly into the binary, so the files are read once during build time and then you can access them as e.g. a byte slice, a string, or a special FS object that acts like an in-memory file system
catlifeonmars
36 days ago
|
prev
|
next
[–]
Build time
estebarb
36 days ago
|
prev
[–]
Build time. It literally embeeds the file in the binary.
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: