Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Material ¶ added in v1.1.2
type Material struct {
ID uint `gorm:"primary_key"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"index"`
Link string
Comment string
ItemID string //Unical +
ItemOwnerID int //Unical
ItemType string
UserID uint
User User `gorm:"foreignKey:UserID"`
}
func GetMaterialsList ¶ added in v1.1.2
func GetMaterialsList(paginator *pagination.Paginator) (materials []Material)
GetMaterialsList return all materials
Click to show internal directories.
Click to hide internal directories.