Last active
April 20, 2017 20:29
-
-
Save hashbender/4024be4de6005785bc08f2e8563b6eb5 to your computer and use it in GitHub Desktop.
GlobalVars
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
package main | |
import ( | |
"database/sql" | |
) | |
var ( | |
db *sql.DB | |
) | |
func main() { | |
db := initDb() | |
} | |
func initDb() *sql.DB { | |
return nil //TODO | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment