go-masonry / tutorial Goto Github PK
View Code? Open in Web Editor NEWstep-by-step tutorial on how to build gRPC server with mortar
step-by-step tutorial on how to build gRPC server with mortar
Hello, I'm at step 04-instrumentation. The constant LoggerWriterConsole is no longer defined in latest [email protected].
I did a quick look at my GOROOT, locally I have [email protected], [email protected], [email protected] and [email protected].
I found this constant only in [email protected] and substituted "mortar.logger.console" into app/mortar/logger.go:zeroLogBuilder to get things going.
Hello,
I'm at step 04-instrumentation. When running go run main.go config config/config.yml
with files generated via the latest protoc plugins I encountered the above errors.
gRPC-Gateway version: grpc-gateway/[email protected]
protoc command line: protoc -I"../../googleapis/" -I. --openapiv2_out . --openapiv2_opt logtostderr=true --grpc-gateway_out=repeated_path_param_separator=ssv:. --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative garage.proto
Resolution: the types within two files, listed below, were slightly changed:
app/controllers/workshop.go
type workshopController struct {
deps workshopControllerDeps
client *http.Client
encoder *jsonpb.Marshaler
workshop.UnimplementedWorkshopServer
}
app/controllers/subworkshop.go
type subWorkshopController struct {
deps subWorkshopControllerDeps
workshop.UnimplementedSubWorkshopServer
}
In 05-middleware
app/mortar/metrics.go:24:18: undefined: mortar.Name
app/mortar/tracing.go:25:29: undefined: mortar.Name
both mortarProject.Name and mortar.Name can be replaced by the string "mortar.name"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.