content_management

package
v1.0.68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentManagementService

type ContentManagementService struct {
	ArticleService  *article.ArticleService
	ContentCategory *content_category.ContentCategoryService
	ContentComment  *content_comment.ContentCommentService
	// contains filtered or unexported fields
}

func NewContentManagementService

func NewContentManagementService(ctx *context.ERPContext) *ContentManagementService

NewContentManagementService creates a new instance of ContentManagementService.

It takes an ERPContext as parameter and returns a pointer to a ContentManagementService.

It uses the ERPContext to initialize the ArticleService, ContentCategoryService, and ContentCommentService. Additionally, it calls the Migrate method of the ContentManagementService to create the necessary database schema.

func (*ContentManagementService) Migrate

func (cs *ContentManagementService) Migrate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL