cmd

package
v0.0.0-...-cc6c6cb Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(run func(cmd *cobra.Command, args []string)) error

Types

type MainApp

type MainApp struct {
	// contains filtered or unexported fields
}

func NewMainApp

func NewMainApp(
	http *routes.HttpEngine,
	logger *zap.SugaredLogger,
	conf *koanf.Koanf,
	cron *cron.Cron,
	initSystem *system.InitSystem,
	sib *biz.SystemInitBiz,
	scb *biz.SiteConfigBiz,
) (*MainApp, func())

func (*MainApp) Run

func (m *MainApp) Run() error

Jump to

Keyboard shortcuts

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