postgres

package
v0.0.0-...-36d8597 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	URI string
}

Config ...

type Store

type Store struct {
	// contains filtered or unexported fields
}

Store implementation of db interface

func New

func New(ctx context.Context, db *db.Store) (*Store, error)

New ...

func (*Store) Get

func (s *Store) Get(ctx context.Context, id string) (*v12.LinkView, error)

Get ...

func (*Store) List

func (s *Store) List(ctx context.Context, filter *query.Filter) (*v12.LinksView, error)

List ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL