fix: move sql driver import into main.go
This commit is contained in:
		
							
								
								
									
										3
									
								
								main.go
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								main.go
									
									
									
									
									
								
							| @@ -6,6 +6,9 @@ import ( | ||||
|  | ||||
| 	"git.cryptic.systems/volker.raschek/flucky/cli" | ||||
| 	"github.com/Masterminds/semver" | ||||
|  | ||||
| 	_ "github.com/lib/pq" | ||||
| 	_ "github.com/mattn/go-sqlite3" | ||||
| ) | ||||
|  | ||||
| var ( | ||||
|   | ||||
| @@ -8,7 +8,6 @@ import ( | ||||
|  | ||||
| 	"git.cryptic.systems/volker.raschek/flucky/pkg/types" | ||||
| 	"git.cryptic.systems/volker.raschek/go-logger" | ||||
| 	_ "github.com/lib/pq" | ||||
| ) | ||||
|  | ||||
| // Postgres implementation | ||||
|   | ||||
| @@ -7,7 +7,6 @@ import ( | ||||
|  | ||||
| 	"git.cryptic.systems/volker.raschek/flucky/pkg/types" | ||||
| 	"git.cryptic.systems/volker.raschek/go-logger" | ||||
| 	_ "github.com/mattn/go-sqlite3" | ||||
| ) | ||||
|  | ||||
| // SQLite implementation | ||||
|   | ||||
		Reference in New Issue
	
	Block a user