Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CodeDbCmd = &cobra.Command{ Use: "codedb [flag]", Short: "Make code of one table", Run: func(cmd *cobra.Command, args []string) { if len(cmd.Flags().Args()) > 0 { table := cmd.Flags().Arg(0) var dbreq = pagedb.Default() var err = dbreq.Meta2CodeFile(table) if err != nil { golog.Error(err) } } else { golog.Info("webframe codedb tablename") } }, }
View Source
var CodeEsCmd = &cobra.Command{ Use: "codees [flag]", Short: "Make code of one elastic'index", Run: func(cmd *cobra.Command, args []string) { if len(cmd.Flags().Args()) > 0 { indexName := cmd.Flags().Arg(0) var err = metafacade.FindBeanMetaFacade().MetaEs(indexName) if err != nil { golog.Info(err) } else { golog.Info("webframe codees indexname") } } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.