db

package
v0.0.0-...-71d70ac Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

func New

func New(db *sql.DB) *DB

func (*DB) HasPullRequest

func (db *DB) HasPullRequest(ctx context.Context, project, repo string, id int) (bool, error)

func (*DB) LastActivity

func (db *DB) LastActivity(ctx context.Context, project, repo string, id int) (lastActivity int, err error)

func (*DB) UpsertPullRequest

func (db *DB) UpsertPullRequest(ctx context.Context, project, repo string, id, lastActivty int) error

Jump to

Keyboard shortcuts

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