 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var FuncMap template.FuncMap = map[string]interface{}{ "export": Export, "quoteSpace": QuoteSpace, }
Functions ¶
func FormatOutput ¶
uses goimports tool to format code goimports also runs gofmt, so no need to run both separately
func QuoteSpace ¶
func SliceToSQL ¶
used with "column IN (values)" queries expands []string{"val1", "val2"} to "(?, ?, ?)"
Types ¶
type Logger ¶
type Logger interface {
	Printf(format string, v ...interface{})
	Println(v ...interface{})
}
    type MockLogger ¶
type MockLogger struct{}
    func (*MockLogger) Printf ¶
func (l *MockLogger) Printf(f string, v ...interface{})
func (*MockLogger) Println ¶
func (l *MockLogger) Println(v ...interface{})
 Click to show internal directories. 
   Click to hide internal directories.