mirror of
				https://github.com/aclindsa/moneygo.git
				synced 2025-10-30 09:33:25 -04:00 
			
		
		
		
	
							
								
								
									
										2
									
								
								main.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.go
									
									
									
									
									
								
							| @@ -66,7 +66,7 @@ func staticHandler(w http.ResponseWriter, r *http.Request, basedir string) { | ||||
| } | ||||
|  | ||||
| func main() { | ||||
| 	dsn := db.GetDSN(cfg.MoneyGo.DbType, cfg.MoneyGo.DSN) | ||||
| 	dsn := db.GetDSN(cfg.MoneyGo.DBType, cfg.MoneyGo.DSN) | ||||
| 	database, err := sql.Open(cfg.MoneyGo.DBType.String(), dsn) | ||||
| 	if err != nil { | ||||
| 		log.Fatal(err) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user