storage

package
v0.0.0-...-f57b53e Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoMigrate

func AutoMigrate(dst ...interface{}) error

func Create

func Create(value interface{}) (tx *gorm.DB)

func Delete

func Delete(value interface{}, conds ...interface{}) (tx *gorm.DB)

func Find

func Find(dest interface{}, conds ...interface{}) (tx *gorm.DB)

func Model

func Model(value interface{}) (tx *gorm.DB)

func Save

func Save(value interface{}) (tx *gorm.DB)

func Updates

func Updates(value interface{}) (tx *gorm.DB)

func Where

func Where(query interface{}, args ...interface{}) (tx *gorm.DB)

Types

type Config

type Config struct {
	Key   string `gorm:"primaryKey"`
	Value string
}

Jump to

Keyboard shortcuts

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