Last active
December 19, 2018 00:49
-
-
Save parzibyte/fa632d0e0ae7ddb7de8395767bce4eed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db, err := obtenerBaseDeDatos() | |
if err != nil { | |
fmt.Printf("Error obteniendo base de datos: %v", err) | |
return | |
} | |
// Terminar conexión al terminar función | |
defer db.Close() | |
// Aquí 10 millones de líneas... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment