repo_description: SQL builder and query library for golang
repo_topics: database go golang mysql postgres postgresql querybuilder sql sql-builder sql-builders sql-generation sql-query sql-statement sql-statements sqlite
code: package errors
  
  import "fmt"
  
  type Error struct {
  	err string
  }
  
  func New(message string, args ...interface{}) error {
  	return Error{err: "goqu: " + fmt.Sprintf(message, args...)}
  }
  
  func NewEncodeError(t interface{}) error {
  	return Error{err: "goqu_encode_error: " + fmt.Sprintf("Unable to encode value %+v", t)}
  }
  
  func (e Error) Error() string {
  	return e.err
  }
  