Skip to content

Instantly share code, notes, and snippets.

View dbudworth's full-sized avatar

David Budworth dbudworth

View GitHub Profile
@dbudworth
dbudworth / migrator.go
Created April 10, 2016 15:38
simple migrator for go
package main
import (
"bufio"
"database/sql"
"fmt"
"io/ioutil"
"log"
"os"
"path/filepath"
@dbudworth
dbudworth / debugoutput
Created December 8, 2013 14:24
More detail on the goconvey panic
2013/12/08 08:22:10 parser.go:19: [no test files]: github.com/peak6/disgo/pmap/p6pmd
About to crash. index: 3 line: goroutine 5 [running]:
fileAndLine: [testing.func·005()]
Actual output:
0 Connecting to: localhost:9999 / 127.0.0.1:9999
1 panic: dial tcp 127.0.0.1:9999: connection refused
2 panic: dial tcp 127.0.0.1:9999: connection refused
3
4 goroutine 5 [running]:
5 runtime.panic(0x55f4c0, 0xc210045600)
@dbudworth
dbudworth / error.txt
Created June 4, 2013 15:31
output of make -dnp for cowboy
# GNU Make 3.81
# Copyright (C) 2006 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions.
# There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
# This program built for x86_64-pc-linux-gnu
Reading makefiles...
Reading makefile `Makefile'...
Reading makefile `erlang.mk' (search path) (no ~ expansion)...