This repo contains multiple golang generators
- go 1.12 later
make install
gogen -h : show the help
gogen proto : generating proto
gogen interface : generating interface
-c, --comment string comment for the generated interface
-f, --file string file path of the target struct
-h, --help help for interface
-n, --name string name for the generated interface
-o, --output string destination output of the result
-p, --pkg string package of the target struct
-e, --pkgName string package name for the generated interface
-r, --target string target struct for interface generator
-f, --file string file path to target struct
-g, --goPkg string go package for generated proto (default "./proto")
-h, --help help for proto
-n, --name string message name for generated proto
-o, --output string destination output of the result
-p, --pkgName string package name for generated proto (default "proto")
-r, --target string target struct
-p, --pkg string package containing struct
-r, --target string target struct