Documentation ¶
Overview ¶
@snippet_begin(PresetHelloWorldSample)
Index ¶
- Constants
- Variables
- func NotifierComponent() func(ctx *web.EventContext) h.HTMLComponent
- func NotifierCount() func(ctx *web.EventContext) int
- func PresetsBrandFunc(b *presets.Builder)
- func PresetsBrandTitle(b *presets.Builder)
- func PresetsDetailPageCards(b *presets.Builder) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailPageDetails(b *presets.Builder) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailPageTopNotes(b *presets.Builder) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingCustomizationDescription(b *presets.Builder) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingCustomizationFileType(b *presets.Builder) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingCustomizationTabs(b *presets.Builder)
- func PresetsEditingCustomizationValidation(b *presets.Builder) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsGroupMenu(b *presets.Builder)
- func PresetsHelloWorld(b *presets.Builder) (m *presets.ModelBuilder, db *gorm.DB)
- func PresetsLinkageSelectFilterItem(b *presets.Builder)
- func PresetsListingCustomizationBulkActions(b *presets.Builder) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsListingCustomizationFields(b *presets.Builder) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsListingCustomizationFilters(b *presets.Builder) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsListingCustomizationSearcher(b *presets.Builder)
- func PresetsListingCustomizationTabs(b *presets.Builder) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsModelBuilderExtensions(b *presets.Builder) (mb *presets.ModelBuilder, db *gorm.DB)
- func PresetsNotificationCenterSample(b *presets.Builder)
- func PresetsOrderMenu(b *presets.Builder)
- func PresetsPermissions(b *presets.Builder) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsProfile(b *presets.Builder)
- type Address
- type Company
- type CreditCard
- type Customer
- type Group
- type Messages
- type MyFile
- type Note
- type Product
- type User
Constants ¶
View Source
const NotificationCenterSamplePath = "/samples/notification_center"
@snippet_end
View Source
const PresetsBrandFuncPath = "/samples/brand_func"
View Source
const PresetsBrandTitlePath = "/samples/brand_title"
View Source
const PresetsDetailPageCardsPath = "/samples/presets-detail-page-cards"
View Source
const PresetsDetailPageDetailsPath = "/samples/presets-detail-page-details"
View Source
const PresetsDetailPageTopNotesPath = "/samples/presets-detail-page-top-notes"
View Source
const PresetsEditingCustomizationDescriptionPath = "/samples/presets-editing-customization-description"
View Source
const PresetsEditingCustomizationFileTypePath = "/samples/presets-editing-customization-file-type"
View Source
const PresetsEditingCustomizationTabsPath = "/samples/presets-editing-customization-tabs"
View Source
const PresetsEditingCustomizationValidationPath = "/samples/presets-editing-customization-validation"
View Source
const PresetsHelloWorldPath = "/samples/presets-hello-world"
View Source
const PresetsLinkageSelectFilterItemPath = "/samples/linkage_select_filter_item"
View Source
const PresetsListingCustomizationBulkActionsPath = "/samples/presets-listing-customization-bulk-actions"
View Source
const PresetsListingCustomizationFieldsPath = "/samples/presets-listing-customization-fields"
View Source
const PresetsListingCustomizationFiltersPath = "/samples/presets-listing-customization-filters"
View Source
const PresetsListingCustomizationSearcherPath = "/samples/presets-listing-customization-searcher"
View Source
const PresetsListingCustomizationTabsPath = "/samples/presets-listing-customization-tabs"
View Source
const PresetsMenuGroupPath = "/samples/menu_group"
View Source
const PresetsMenuOrderPath = "/samples/menu_order"
View Source
const PresetsModelBuilderExtensionsPath = "/samples/presets-model-builder-extensions"
View Source
const PresetsPermissionsPath = "/samples/presets-permissions"
View Source
const PresetsProfilePath = "/samples/profile"
Variables ¶
View Source
var DB *gorm.DB
View Source
var Messages_en_US = &Messages{
Admin: "Admin",
Customers: "Customers",
Companies: "Companies",
CustomersName: "Name",
CustomersCompanyID: "Company",
CustomersDescription: "Description",
CompaniesName: "Name",
CustomersID: "ID",
CustomersCompany: "Company",
CustomersEmail: "Email",
Customer: "Customer",
CustomersFilterCreated: "Created",
CustomersFilterApproved: "Approved",
CustomersFilterName: "Name",
CustomersFilterCompany: "Company",
}
View Source
var Messages_zh_CN = &Messages{
Admin: "管理系统",
Customers: "客户",
Companies: "公司",
CustomersName: "姓名",
CustomersCompanyID: "公司",
CustomersDescription: "描述",
CompaniesName: "公司名称",
CustomersID: "ID",
CustomersCompany: "公司",
CustomersEmail: "电子邮件",
Customer: "客户",
CustomersFilterCreated: "创建日",
CustomersFilterApproved: "承认日",
CustomersFilterName: "名称",
CustomersFilterCompany: "属于公司",
}
Functions ¶
func NotifierComponent ¶
func NotifierComponent() func(ctx *web.EventContext) h.HTMLComponent
func NotifierCount ¶
func NotifierCount() func(ctx *web.EventContext) int
func PresetsBrandFunc ¶
func PresetsBrandTitle ¶
func PresetsDetailPageCards ¶
func PresetsDetailPageCards(b *presets.Builder) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, db *gorm.DB, )
func PresetsDetailPageDetails ¶
func PresetsDetailPageDetails(b *presets.Builder) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, db *gorm.DB, )
func PresetsDetailPageTopNotes ¶
func PresetsDetailPageTopNotes(b *presets.Builder) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, db *gorm.DB, )
func PresetsEditingCustomizationDescription ¶
func PresetsEditingCustomizationDescription(b *presets.Builder) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, db *gorm.DB, )
func PresetsEditingCustomizationFileType ¶
func PresetsEditingCustomizationFileType(b *presets.Builder) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, db *gorm.DB, )
func PresetsEditingCustomizationValidation ¶
func PresetsEditingCustomizationValidation(b *presets.Builder) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, db *gorm.DB, )
func PresetsGroupMenu ¶
func PresetsHelloWorld ¶
func PresetsListingCustomizationBulkActions ¶
func PresetsListingCustomizationBulkActions(b *presets.Builder) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, db *gorm.DB, )
func PresetsListingCustomizationFields ¶
func PresetsListingCustomizationFields(b *presets.Builder) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, db *gorm.DB, )
func PresetsListingCustomizationFilters ¶
func PresetsListingCustomizationFilters(b *presets.Builder) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, db *gorm.DB, )
func PresetsListingCustomizationTabs ¶
func PresetsListingCustomizationTabs(b *presets.Builder) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, db *gorm.DB, )
func PresetsOrderMenu ¶
func PresetsPermissions ¶
func PresetsPermissions(b *presets.Builder) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, db *gorm.DB, )
func PresetsProfile ¶
Types ¶
type CreditCard ¶
type Messages ¶
type Messages struct { Admin string Customers string Companies string CustomersName string CustomersCompanyID string CustomersDescription string CompaniesName string CustomersID string CustomersCompany string CustomersEmail string Customer string CustomersFilterCreated string CustomersFilterApproved string CustomersFilterName string CustomersFilterCompany string }
Click to show internal directories.
Click to hide internal directories.