dbhelper

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: MIT Imports: 8 Imported by: 0

README

Database Helper

A simple utility to connect to either a sqlite or postgres database

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDuplicateError added in v0.1.1

func IsDuplicateError(err error) bool

func Open

func Open() (db *gorm.DB, err error)

Open opens the database

Types

This section is empty.

Jump to

Keyboard shortcuts

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