protoc-gen-map
protoc-gen-map copied to clipboard
SQL Data mapper framework for grpc/protobuf
When executing the binary "go/bin/protoc-gen-map", there is a warning about "protoc-gen-go/generator" to be deprecated: ``` WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. A future release of golang/protobuf will delete this package, which...
Following the code under "examples" in this repository, I've brought up a MySQL DB and a simple server based on "server.go". I've created the "blog" table as per the "testdata/initdb/sql/init_db.sql"...
If multiple proto files in the same package contain enums, there will be more than one EnumValueMaps declarations in the same package
To gain performance for some queries, we can use prepared statements on supported databases. Some idea is to save the prepared query (*sql.Stmt) on a map (with mutex :) )....