Documentation ¶ Index ¶ func ConnectToPostgreSQL(host, port, user, password, dbname string) (*gorm.DB, error) type Expression Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ConnectToPostgreSQL ¶ func ConnectToPostgreSQL(host, port, user, password, dbname string) (*gorm.DB, error) Types ¶ type Expression ¶ type Expression struct { ID uint `gorm:"primaryKey"` Expression string Result string Status string `gorm:"default:'in_progress'"` CreatedAt time.Time EvaluatedAt time.Time } Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.