Discover Packages
github.com/akaedison/go-gin-example
models
package
Version:
v0.0.0-...-fad33e4
Opens a new window with list of versions in this module.
Published: Mar 31, 2021
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func GetTagTotal(maps interface{}) (count int64 )
type Model struct {
ID int `gorm:"primary_key" json:"id"`
CreateOn int `json:"created_on"`
ModifiedOn int `json:"modified_on"`
}
type Tag struct {
Model
Name string `json:"name"`
CreatedBy string `json:"created_by"`
ModifiedBy string `json:"modified_by"`
State int `json:"state"`
}
func GetTags(pageNum int , pageSize int , maps interface{}) (tags []Tag )
Source Files
¶
Click to show internal directories.
Click to hide internal directories.