Documentation ¶ Index ¶ type Options func (opts *Options) Create() (*sqlds.Datastore, error) type Queries func (Queries) Delete() string func (Queries) Exists() string func (Queries) Get() string func (Queries) GetSize() string func (Queries) Limit() string func (Queries) Offset() string func (Queries) Prefix() string func (Queries) Put() string func (Queries) Query() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Options ¶ type Options struct { Host string Port string User string Password string Database string } Options are the postgres datastore options, reexported here for convenience. func (*Options) Create ¶ func (opts *Options) Create() (*sqlds.Datastore, error) Create returns a datastore connected to postgres type Queries ¶ type Queries struct { } func (Queries) Delete ¶ func (Queries) Delete() string func (Queries) Exists ¶ func (Queries) Exists() string func (Queries) Get ¶ func (Queries) Get() string func (Queries) GetSize ¶ func (Queries) GetSize() string func (Queries) Limit ¶ func (Queries) Limit() string func (Queries) Offset ¶ func (Queries) Offset() string func (Queries) Prefix ¶ func (Queries) Prefix() string func (Queries) Put ¶ func (Queries) Put() string func (Queries) Query ¶ func (Queries) Query() string Source Files ¶ View all Source files postgres.go Click to show internal directories. Click to hide internal directories.