Interactions-HSG / grpcwot

A simple command line tool to generate a Thing Description from Protocol Buffers
GNU General Public License v3.0
0 stars 0 forks source link

Derive RPCs and Messages #3

Closed S-Eibl closed 2 years ago

S-Eibl commented 2 years ago

The protoparser should be used to get all RPC functions and Messages from a sample proto file.

iomz commented 2 years ago

Again, why "should"?

Why are you recreating the intermediary map and slice instead of directly using the parsed elements? https://pkg.go.dev/github.com/emicklei/proto#pkg-types