Documentation ¶
Overview ¶
@snippet_begin(PresetHelloWorldSample)
Index ¶
- Constants
- Variables
- func NotifierComponent() func(ctx *web.EventContext) h.HTMLComponent
- func NotifierCount() func(ctx *web.EventContext) int
- func PresetsBasicFilter(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsBrandFunc(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsBrandTitle(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsConfirmDialog(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsCustomizeMenu(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailInlineEditDetails(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailInlineEditFieldSections(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailInlineEditInspectTables(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailInlineEditValidate(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailNestedMany(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailPageCards(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailPageDetails(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailPageTopNotes(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailSectionLabel(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailSimple(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingCustomizationDescription(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingCustomizationFileType(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingCustomizationTabs(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingCustomizationValidation(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingSetter(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingValidate(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsGroupMenu(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsHelloWorld(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsKeywordSearchOff(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsLinkageSelectFilterItem(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsListingCustomizationBulkActions(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsListingCustomizationFields(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsListingCustomizationFilters(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsListingCustomizationSearcher(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsListingCustomizationTabs(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsModelBuilderExtensions(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsNotificationCenterSample(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsOrderMenu(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsPermissions(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsProfile(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func SamplesHandler(mux examples.Muxer)
- type Address
- type Company
- type CreditCard
- type Customer
- type Group
- type Messages
- type MyFile
- type Note
- type Page
- type Post
- type Product
- type User
Constants ¶
View Source
const PresetsDetailPageCardsPath = "/samples/presets-detail-page-cards"
Variables ¶
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 PresetsBasicFilter ¶
func PresetsBasicFilter(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsBrandFunc ¶
func PresetsBrandFunc(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsBrandTitle ¶
func PresetsBrandTitle(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsConfirmDialog ¶
func PresetsConfirmDialog(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsCustomizeMenu ¶ added in v3.0.3
func PresetsCustomizeMenu(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailInlineEditDetails ¶
func PresetsDetailInlineEditDetails(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailInlineEditFieldSections ¶
func PresetsDetailInlineEditFieldSections(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailInlineEditInspectTables ¶
func PresetsDetailInlineEditInspectTables(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailInlineEditValidate ¶ added in v3.0.2
func PresetsDetailInlineEditValidate(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailNestedMany ¶ added in v3.0.2
func PresetsDetailNestedMany(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailPageCards ¶
func PresetsDetailPageCards(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailPageDetails ¶
func PresetsDetailPageDetails(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailPageTopNotes ¶
func PresetsDetailPageTopNotes(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailSectionLabel ¶ added in v3.0.2
func PresetsDetailSectionLabel(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailSimple ¶
func PresetsDetailSimple(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsEditingCustomizationDescription ¶
func PresetsEditingCustomizationDescription(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsEditingCustomizationFileType ¶
func PresetsEditingCustomizationFileType(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsEditingCustomizationTabs ¶
func PresetsEditingCustomizationTabs(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsEditingCustomizationValidation ¶
func PresetsEditingCustomizationValidation(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsEditingSetter ¶ added in v3.0.3
func PresetsEditingSetter(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsEditingValidate ¶ added in v3.0.2
func PresetsEditingValidate(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsGroupMenu ¶
func PresetsGroupMenu(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsHelloWorld ¶
func PresetsHelloWorld(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsKeywordSearchOff ¶ added in v3.0.2
func PresetsKeywordSearchOff(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsLinkageSelectFilterItem ¶
func PresetsLinkageSelectFilterItem(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsListingCustomizationBulkActions ¶
func PresetsListingCustomizationBulkActions(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsListingCustomizationFields ¶
func PresetsListingCustomizationFields(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsListingCustomizationFilters ¶
func PresetsListingCustomizationFilters(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsListingCustomizationSearcher ¶
func PresetsListingCustomizationSearcher(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsListingCustomizationTabs ¶
func PresetsListingCustomizationTabs(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsModelBuilderExtensions ¶
func PresetsModelBuilderExtensions(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsNotificationCenterSample ¶
func PresetsNotificationCenterSample(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsOrderMenu ¶
func PresetsOrderMenu(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsPermissions ¶
func PresetsPermissions(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsProfile ¶
func PresetsProfile(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
@snippet_begin(ProfileSample)
func SamplesHandler ¶
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 }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.