queries

package
v0.0.0-...-0549c05 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventsQueries

type EventsQueries struct {
	*sqlx.DB
}

EventsQueries struct for queries from Events model.

func (*EventsQueries) CreateProcessedEvent

func (q *EventsQueries) CreateProcessedEvent(event events.Event) error

CreateProcessedEvent method for creating processed_events by given event object.

func (*EventsQueries) EventExists

func (q *EventsQueries) EventExists(event events.Event) (bool, error)

EventExists method check if event has processed.

Jump to

Keyboard shortcuts

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