Versions in this module Expand all Collapse all v0 v0.1.0 Jan 13, 2015 Changes in this version + type DotSql struct + func Load(r io.Reader) (*DotSql, error) + func LoadFromFile(sqlFile string) (*DotSql, error) + func LoadFromString(sql string) (*DotSql, error) + func Merge(dots ...*DotSql) *DotSql + func (d DotSql) Exec(db Execer, name string, args ...interface{}) (sql.Result, error) + func (d DotSql) Prepare(db Preparer, name string) (*sql.Stmt, error) + func (d DotSql) Query(db Queryer, name string, args ...interface{}) (*sql.Rows, error) + func (d DotSql) QueryMap() map[string]string + func (d DotSql) Raw(name string) (string, error) + type Execer interface + Exec func(query string, args ...interface{}) (sql.Result, error) + type Preparer interface + Prepare func(query string) (*sql.Stmt, error) + type Queryer interface + Query func(query string, args ...interface{}) (*sql.Rows, error) + type Scanner struct + func (s *Scanner) Run(io *bufio.Scanner) map[string]string