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 ¶
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".
Click to show internal directories.
Click to hide internal directories.