Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TryDomain = "hiper.dk"
TryDomain is current just set to hiper.dk since I work at hiper
Functions ¶
func NewConnectionString ¶ added in v0.0.2
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func NewConnection ¶
func NewConnection(ctx context.Context, connectiongString string) (*Connection, error)
NewConnection creates a new connection object
func NewConnectionFromPgPass ¶ added in v0.0.2
func NewConnectionFromPgPass(ctx context.Context, hostQuery string) (*Connection, error)
func (*Connection) WriteQuery ¶
func (c *Connection) WriteQuery(ctx context.Context, query *Query, path string, loggerFn func(ln string)) error
WriteQuery writes the results of executing the query to a csv file at the path given
Click to show internal directories.
Click to hide internal directories.