WIP: Add SVG Templating #10

Draft
tueem wants to merge 14 commits from feat/template into dev
Showing only changes of commit ba90d5a0ed - Show all commits

View File

@@ -13,7 +13,7 @@ const SVGTABLECREATE string = `
);` );`
const INSERTSVGSQL string = "INSERT INTO svg VALUES (?, ?);" const INSERTSVGSQL string = "INSERT INTO svg VALUES (?, ?);"
const GETSPECIFICSVGSQL string = "SELECT * FROM svg WHERE id = ?;" const GETSPECIFICSVGSQL string = "SELECT * FROM svg WHERE name = ?;"
const GETSVGSQL string = "SELECT * FROM svg;" const GETSVGSQL string = "SELECT * FROM svg;"
func InsertSVG(data *svg.TemplateData) error { func InsertSVG(data *svg.TemplateData) error {