dbmenu

package
v0.0.0-...-e3601d1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2025 License: MulanPSL-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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