generation

package
v0.0.0-...-ab7ba8c Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GenCmd = &cobra.Command{
	Use:   "gen",
	Short: "Generates protobuf",
	Run: func(cmd *cobra.Command, args []string) {
		s, err := generateSchema(table, ignoreTables, ignoreColumns, serviceName, fieldStyle, dbType)
		if nil != err {
			log.Fatal(err)
		}

		if nil != s {
			fmt.Println(s)
		}
	},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
tools

Jump to

Keyboard shortcuts

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