persistence

package
v1.73.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDB

func InitDB(databaseUri string)

func MustGetDBSession

func MustGetDBSession() *sql.DB

func SetDB

func SetDB(database *sql.DB)

Types

type NullStringTime

type NullStringTime struct {
	Time  time.Time
	Valid bool
}

func (*NullStringTime) Scan

func (s *NullStringTime) Scan(value interface{}) error

Scan implements the Scanner interface.

type StringTime

type StringTime struct {
	Time  time.Time
	Valid bool
}

func (*StringTime) Scan

func (s *StringTime) Scan(value interface{}) error

Scan implements the Scanner interface.

Jump to

Keyboard shortcuts

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