archivist

package
v1.3.50 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archivist

type Archivist struct {
	Entities *entities
	// contains filtered or unexported fields
}

Archivist is responsible for storing and retrieving data from the database.

func NewArchivist

func NewArchivist(dsn string) (*Archivist, error)

NewArchivist creates a new Archivist with provided DSN to connect to database.

DSN is a string in the format of: "user=gorm password=gorm dbname=gorm port=9920 sslmode=disable".

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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