repo

package
v0.0.0-...-a85b10e Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DBUser = "root"
	DBPass = "root"
	DBHost = net.JoinHostPort("localhost", "3306")
)

DB variables

Functions

func Close

func Close() error

Close closes the database, releasing any open resources.

func Init

func Init() error

Init initialize connection to the database.

func Ping

func Ping() repo.PingRepository

Ping returns an implementation of the PingRepository

Types

This section is empty.

Jump to

Keyboard shortcuts

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