Post-Migrator/services/migration/migrate-categories.go

19 lines
426 B
Go
Raw Normal View History

package migration
//THIS SHOULD BE A STRUCT WITH AN EXECUTE
/*import (
"database/sql"
"federated.computer/wp-sync-slowtwitch/services/slowtwitch"
)
func MigrateCategories(slowtwitchDB *sql.DB, resultsDB *sql.DB, baseUrl, user, pass string) ([]CategoryResult, error) {
slowtwitchCategories := slowtwitch.GetCategories(slowtwitchDB)
for _, category := range slowtwitchCategories {
}
var results []CategoryResult
}*/