package
0.2.4
Repository: https://github.com/leg100/otf.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Bool converts a go-boolean into a postgres non-null boolean.
BoolPtr converts a go-boolean pointer into a postgres nullable boolean.
No description provided by the author
Inet converts net.IP into the postgres type pgtype.Inet.
Int4 converts a go-int into a postgres non-null int4.
Int4Ptr converts a go-int pointer into a postgres nullable int4.
Int8 converts a go-int into a postgres non-null int8.
Int8Ptr converts a go-int pointer into a postgres nullable int8.
JSON converts a []byte into a postgres JSON type.
New constructs a new DB connection pool, and migrates the schema to the latest version.
No description provided by the author
NewTestDB creates a logical database in postgres for a test and returns a connection string for connecting to the database.
No description provided by the author
NullString returns a postgres null string.
String converts a go-string into a postgres non-null string.
StringPtr converts a go-string pointer into a postgres nullable string.
Timestamptz converts a go-time into a postgres non-null timestamptz.
TimestamptzPtr converts a go-time pointer into a postgres nullable timestamptz.
UUID converts a google-go-uuid into a postgres non-null UUID.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrSubscriptionTerminated is for use by subscribers to indicate that their subscription has been terminated by the broker.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author