Skip to content

Instantly share code, notes, and snippets.

@viggin543
Created July 5, 2020 05:57
Show Gist options
  • Save viggin543/cf300c0ef3e84b84d873d867c11b4b5c to your computer and use it in GitHub Desktop.
Save viggin543/cf300c0ef3e84b84d873d867c11b4b5c to your computer and use it in GitHub Desktop.
#from golang service stdout
[GIN] 2020/07/04 - 18:57:04 | 200 | 93.2176ms | 172.17.0.1 | GET "/fruits"
[GIN] 2020/07/04 - 18:57:04 | 200 | 93.6806ms | 172.17.0.1 | GET "/fruits"
[GIN] 2020/07/04 - 18:57:04 | 200 | 96.3471ms | 172.17.0.1 | GET "/fruits"
[GIN] 2020/07/04 - 18:57:09 | 500 | 2m9s | 172.17.0.1 | GET "/fruits"
2020/07/04 18:55:57 [Recovery] 2020/07/04 - 18:55:57 panic recovered:
runtime error: invalid memory address or nil pointer dereference
/usr/local/go/src/runtime/panic.go:212 (0x44aa19)
panicmem: panic(memoryError)
/usr/local/go/src/runtime/signal_unix.go:695 (0x44a868)
sigpanic: panicmem()
/usr/local/go/src/database/sql/sql.go:2744 (0x4fa6b0)
(*Rows).Next: withLock(rs.closemu.RLocker(), func() {
/app/main.go:38 (0x99e2cc)
getFruits: for rows.Next() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment