terraria-companion/embed_nodata.go
Felipe M. 0915d43e56
Some checks failed
ci/woodpecker/tag/release Pipeline failed
ci/woodpecker/push/ci Pipeline failed
refactor: move icons from public/icons to data/icons and support embedding
Icons are now stored in data/icons alongside other data files. When built
with embed_data tag, icons are embedded into the binary via embed.FS.
Server serves icons from disk first (for hot-reload), falling back to
embedded FS.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 00:28:30 +01:00

12 lines
229 B
Go

//go:build !embed_data
package main
import "embed"
var embeddedItemsJSON = []byte("[]")
var embeddedRecipesJSON = []byte("[]")
var embeddedDropsJSON = []byte("[]")
var embeddedSplashesJSON = []byte("[]")
var iconsFS embed.FS