postgres

package
v0.0.0-...-5de5566 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 8 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 - config

type Store

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

Store implementation of db interface

func New

func New(_ context.Context, store db.DB) (*Store, error)

func (*Store) Get

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

Get - get

func (*Store) List

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

List - list

Jump to

Keyboard shortcuts

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