postgres

package
v0.0.0-...-1223afe Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresIndex

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

func NewIndex

func NewIndex(dsn string) (*PostgresIndex, error)

func (*PostgresIndex) Search

func (i *PostgresIndex) Search(token entity.Token) []int

type PostgresRepo

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

func New

func New(dsn string) (*PostgresRepo, error)

func (*PostgresRepo) GetIndex

func (r *PostgresRepo) GetIndex() (entity.Index, error)

Jump to

Keyboard shortcuts

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