| 123456789101112131415161718192021 | package cmdimport (	"kpt-pasture/dep"	"gitee.com/xuyiping_admin/pkg/logger/zaplog"	"github.com/spf13/cobra"	"go.uber.org/zap")// ConsumerCmd represents the consumer commandvar ConsumerCmd = &cobra.Command{	Use:   "consumer",	Short: "start consumer",	Run: func(cmd *cobra.Command, args []string) {		srv := dep.DIAsynqWorkOrder()		if err := srv.Server.Run(srv.Mux); err != nil {			zaplog.Error("consumer", zap.Any("err", err))		}	},}
 |