stubdriver One of Go sql driver http://golang.org/pkg/database/sql/ It is a stub implementation, and it always returns same result. For study Go sql driver.