dao

package
v0.0.0-...-364eef1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RepoSet = wire.NewSet(
	util.TransSet,
	demo.DemoSet,

) // end

RepoSet repo injection

Functions

func AutoMigrate

func AutoMigrate(db *gorm.DB) error

Auto migration for given models

Types

type DemoRepo

type DemoRepo = demo.DemoRepo

Define repo type alias

type TransRepo

type TransRepo = util.Trans

Define repo type alias

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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