package
Version:
v0.0.0-...-d9aeb59
Opens a new window with list of versions in this module.
Published: Feb 20, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type BaseRepo struct {
Model interface{}
}
func (repo BaseRepo) Create(payload interface{}) (data interface{}, err error)
func (repo BaseRepo) Update(id uint, payload interface{}) (data interface{}, err error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.