Versions in this module Expand all Collapse all v3 v3.2.0 Nov 21, 2024 v3.1.1 Oct 25, 2024 v3.1.0 Oct 11, 2024 v3.0.6 Sep 29, 2024 v3.0.5 Sep 14, 2024 v3.0.4 Aug 30, 2024 v3.0.3 Aug 15, 2024 Changes in this version + const StatusActive + const StatusInactive v3.0.2 Aug 1, 2024 v3.0.1 Jun 6, 2024 v3.0.0 Apr 13, 2024 Changes in this version + const OAuthProviderGithub + const OAuthProviderGoogle + const OAuthProviderMicrosoftOnline + const OrderStatusColor_Blue + const OrderStatusColor_Brown + const OrderStatusColor_Green + const OrderStatusColor_Grey + const OrderStatusColor_Orange + const OrderStatusColor_Purple + const OrderStatusColor_Red + const OrderStatus_AuthUnknown + const OrderStatus_Authorised + const OrderStatus_Cancelled + const OrderStatus_CheckedIn + const OrderStatus_Paid + const OrderStatus_Pending + const OrderStatus_Refunded + const OrderStatus_Sending + const OrderStatus_Validating + const RoleAdmin + const RoleEditor + const RoleManager + const RoleViewer + var DefaultRoles = []string + var OAuthProviders = []string + var OrderStatusColorMap = map[OrderStatus]string + var OrderStatuses = []OrderStatus + type Address struct + CreatedAt time.Time + CustomerID uint + HomeImage media_library.MediaBox + ID uint + Phones []*Phone + Street string + UpdatedAt time.Time + type Category struct + Name string + Products pq.StringArray + func (c *Category) GetPublishActions(db *gorm.DB, ctx context.Context, storage oss.StorageInterface) (objs []*publish.PublishAction, err error) + func (c *Category) GetUnPublishActions(db *gorm.DB, ctx context.Context, storage oss.StorageInterface) (objs []*publish.PublishAction, err error) + func (c *Category) PermissionRN() []string + func (c *Category) PrimaryColumnValuesBySlug(slug string) map[string]string + func (c *Category) PrimarySlug() string + type Customer struct + Addresses []*Address + ID uint + MembershipCard *MembershipCard + Name string + type InputDemo struct + Autocomplete1 pq.StringArray + ButtonGroup1 string + Checkbox1 bool + ChipGroup1 string + ColorPicker1 string + Combobox1 string + CreatedAt time.Time + DatePicker1 string + DatePickerMonth1 string + FileInput1 string + ID uint + ItemGroup1 string + ListItemGroup1 string + MediaLibrary1 media_library.MediaBox + Radio1 string + RangeSlider1 pq.Int64Array + Select1 string + SlideGroup1 string + Slider1 int + Switch1 bool + TextArea1 string + TextField1 string + TimePicker1 string + UpdatedAt time.Time + type L10nModel struct + Title string + func (lm *L10nModel) PermissionRN() []string + func (lm *L10nModel) PrimaryColumnValuesBySlug(slug string) map[string]string + func (lm *L10nModel) PrimarySlug() string + type L10nModelWithVersion struct + Title string + func (lmv *L10nModelWithVersion) GetPublishActions(db *gorm.DB, ctx context.Context, storage oss.StorageInterface) (objs []*publish.PublishAction, err error) + func (lmv *L10nModelWithVersion) GetUnPublishActions(db *gorm.DB, ctx context.Context, storage oss.StorageInterface) (objs []*publish.PublishAction, err error) + func (lmv *L10nModelWithVersion) PermissionRN() []string + func (lmv *L10nModelWithVersion) PrimaryColumnValuesBySlug(slug string) map[string]string + func (lmv *L10nModelWithVersion) PrimarySlug() string + type ListModel struct + Title string + func (this *ListModel) GetPublishActions(db *gorm.DB, ctx context.Context, storage oss.StorageInterface) (objs []*publish.PublishAction, err error) + func (this *ListModel) GetUnPublishActions(db *gorm.DB, ctx context.Context, storage oss.StorageInterface) (objs []*publish.PublishAction, err error) + func (this *ListModel) PermissionRN() []string + func (this *ListModel) PrimaryColumnValuesBySlug(slug string) map[string]string + func (this *ListModel) PrimarySlug() string + func (this ListModel) GetListContent(db *gorm.DB, onePageItems *publish.OnePageItems) string + func (this ListModel) GetListUrl(pageNumber string) string + func (this ListModel) Sort(array []interface{}) + type LoginSession struct + Device string + ExpiredAt time.Time + IP string + Status string + Time string + TokenHash string + UserID uint + type MembershipCard struct + CustomerID uint + ID uint + Number int + ValidBefore *time.Time + type MicrositeModel struct + Description string + Name string + type Order struct + ConfirmedAt *time.Time + DeliveryMethod string + OrderItems []*OrderItem + PaymentMethod string + Source string + Status OrderStatus + type OrderItem struct + Image string + Name string + ProductCode string + Quantity int32 + TaxUnknown bool + TotalPrice float64 + TotalPriceExTax *float64 + UnitPrice float64 + type OrderStatus string + type Phone struct + AddressID uint + ID uint + Number int + type Post struct + Body string + BodyImage media_library.MediaBox + CreatedAt time.Time + HeroImage media_library.MediaBox + Seo seo.Setting + Title string + TitleWithSlug slug.Slug + UpdatedAt time.Time + func (p *Post) GetPublishActions(db *gorm.DB, ctx context.Context, storage oss.StorageInterface) (objs []*publish.PublishAction, err error) + func (p *Post) GetUnPublishActions(db *gorm.DB, ctx context.Context, storage oss.StorageInterface) (objs []*publish.PublishAction, err error) + func (p *Post) PermissionRN() []string + func (p *Post) PrimaryColumnValuesBySlug(slug string) map[string]string + func (p *Post) PrimarySlug() string + type Product struct + Code string + Image media_library.MediaBox + Name string + Price int + func (p *Product) GetPublishActions(db *gorm.DB, ctx context.Context, storage oss.StorageInterface) (objs []*publish.PublishAction, err error) + func (p *Product) GetUnPublishActions(db *gorm.DB, ctx context.Context, storage oss.StorageInterface) (objs []*publish.PublishAction, err error) + func (p *Product) PermissionRN() []string + func (p *Product) PrimaryColumnValuesBySlug(slug string) map[string]string + func (p *Product) PrimarySlug() string + type SliceListModel []*ListModel + func (x SliceListModel) Len() int + func (x SliceListModel) Less(i, j int) bool + func (x SliceListModel) Swap(i, j int) + type User struct + Company string + CreatedAt time.Time + FavorPostID uint + Name string + RegistrationDate time.Time + Roles []role.Role + Status string + UpdatedAt time.Time + func (u User) GetID() uint + func (u User) GetName() string + func (u User) GetRoles() (rs []string) + func (u User) IsOAuthUser() bool Other modules containing this package github.com/qor5/admin