Golang Error Handling
Jump to navigation
Jump to search
``` log.Fatal panic
db, err := sql.Open("postgres", connStr)
if err != nil { log.Fatal(err) }
``
``` log.Fatal panic
db, err := sql.Open("postgres", connStr)
if err != nil { log.Fatal(err) }
``