Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DbCmd = &cobra.Command{ Use: "dbdict [flag]", Short: "dbdict table ", Run: func(cmd *cobra.Command, args []string) { flag := cmd.Flags().Arg(0) db.FindMetaTable(flag) }, }
View Source
var DbListCmd = &cobra.Command{ Use: "dblist [flag]", Short: "dblist tables", Run: func(cmd *cobra.Command, args []string) { var tables = db.FindTables() for _, table := range tables { fmt.Println(table.TableName) } }, }
View Source
var GoastCmd = &cobra.Command{ Use: "goast [flag]", Short: "goast flag stru ", Run: func(cmd *cobra.Command, args []string) { flag := cmd.Flags().Arg(0) inf, ok := goast.FindBeanDimetaFactroy().GoastOne(flag) fmt.Println(inf, ok) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.