database

package
v0.0.0-...-7bdc1ae Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoMigration

func AutoMigration(db *gorm.DB)

func MySQL

func MySQL()

TODO: Test this MySQL Variable to Connect a Server

func PostgreSQL

func PostgreSQL()

func SQLite

func SQLite()

func UpdateTable

func UpdateTable(dbs *gorm.DB)

Types

type User

type User struct {
	ID    string `gorm:"primary_key"`
	Token string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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