package
Version:
v0.0.0-...-691959d
Opens a new window with list of versions in this module.
Published: Mar 5, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func CreateDB(DB *gorm.DB, dbUser, dbPassword, dbPort, dbHost, dbName string) error
-
func DropDB(DB *gorm.DB, dbUser, dbPassword, dbPort, dbHost, dbName string) error
-
func GetID() uuid.UUID
-
func LoadEnvironment() error
-
func RecreateTables(DB *gorm.DB) error
-
type EntityType
CreateDB creates the database
DropDB drops the database
func LoadEnvironment() error
LoadEnvironment for testing
RecreateTables recreates the tables in database
EntityType represent abstraction for the diferent entities
Source Files
¶
Click to show internal directories.
Click to hide internal directories.