More func

This commit is contained in:
2021-10-28 12:59:01 -05:00
parent 5092c10859
commit d105e88992
9 changed files with 102 additions and 25 deletions

View File

@@ -10,21 +10,12 @@ import (
_ "github.com/mattn/go-sqlite3"
"github.com/xuri/excelize/v2"
_ "embed"
)
var schema = `
CREATE TABLE IF NOT EXISTS data (
description text,
sku text,
level2 text,
level3 text,
revenue float,
cost float,
quantity integer,
year integer,
month integer
);
`
//go:embed sql/schema.sql
var schema string
type Data struct {
Description string