db

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

Functions

func IntializeDb

func IntializeDb() error

func SequenceGetNextVal

func SequenceGetNextVal(seq_name string) (*int64, error)

Types

type DataSource

type DataSource struct {
	Address      *string
	Port         *int32
	User         string
	Password     string
	DatabaseName string
}

func (DataSource) DatasourceUrl

func (ds DataSource) DatasourceUrl() string
type DatasourceLink interface {
	DatasourceUrl() (string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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