package main import ( "fmt" "sevenkeys/database" "sevenkeys/logic" ) func main() { db := database.GetDatabaseFromConfig("config.json") needsUpdate, err := logic.CheckForUpdates(db) logic.Check(err) if needsUpdate { fmt.Println("Needs update") /* if logic.AskForScryfallUpdate() { err = logic.RunScryfallUpdate() logic.Check(err) } */ } }