TIL - Today I Learned
検索
go:embed
2026/10/23
ファイルをビルド時にバイナリへ埋め込む。実行時にファイルを置かなくてよい。
参考:
https://pkg.go.dev/embed