feat: refactor some shit

This commit is contained in:
Max Richter
2025-08-17 00:46:45 +02:00
parent 43644c4f40
commit cc8f967f07
20 changed files with 459 additions and 209 deletions

View File

@@ -28,9 +28,6 @@ var templates embed.FS
//go:embed schema-org/*
var schemas embed.FS
//go:embed aliases/*
var aliases embed.FS
func GetTemplates() Source {
return src{fsys: templates}
}
@@ -49,11 +46,3 @@ func GetTemplate(name string) (string, error) {
return string(templateBytes), nil
}
func GetSchemas() Source {
return src{fsys: schemas}
}
func GetAliases() Source {
return src{fsys: aliases}
}