19 lines
426 B
Go
19 lines
426 B
Go
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
|
|
|
|
}*/
|