Open neurlang opened 9 months ago
I don't think the assets (icons) compile any more. No code generation occurs at compile time. TODO: Fix by using embed fs:
//go:embed assetdir/*.html //go:embed assetdir/*.png var content embed.FS
the data bytes can then be read using
data, _ := content.ReadFile(name)
convert callers, hardcode string resource names instead of public funcs
I don't think the assets (icons) compile any more. No code generation occurs at compile time. TODO: Fix by using embed fs:
the data bytes can then be read using
convert callers, hardcode string resource names instead of public funcs