Go Time: Golang, Software Engineering cover image

go:embed

Go Time: Golang, Software Engineering

00:00

Go Embed

Go embed works by putting files in. You can't like with go generate run executables. No, but what Karl was just saying, one of the things about go embed is that it has basically two concepts. And then you can also embed stuff directly to a string or a slice of bytes. Oh, so that's very interesting. So I guess you'd still need to run a script before to prepare that other file. But it saves you from messing around with those fiddly flags,. The linter flags or the linker flags that you have to pass in. Yeah.

Play episode from 15:38
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app