Versions in this module Expand all Collapse all v1 v1.0.0 Mar 7, 2026 Changes in this version + func All() []interface + func OnlyTrashed(db *gorm.DB) *gorm.DB + func WithTrashed(db *gorm.DB) *gorm.DB + type AuditLog struct + Action string + CreatedAt time.Time + ID uint + Metadata string + ModelID uint + ModelType string + NewValues string + OldValues string + UserID uint + type BaseModel struct + CreatedAt time.Time + DeletedAt gorm.DeletedAt + ID uint + UpdatedAt time.Time + type Post struct + Body string + Slug string + Title string + User User + UserID uint + type User struct + Active bool + BackupCodesHash string + Email string + Name string + Password string + Posts []Post + Role string + TOTPEnabled bool + TOTPSecret string + TOTPVerifiedAt *time.Time + func (u *User) BeforeCreate(tx *gorm.DB) error Other modules containing this package github.com/RAiWorks/RapidGo/v2