protoc --go_out=plugins=grpc:. ./proto/note.proto
protoc
-I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis
-I.
--go_out=plugins=grpc:. ./proto/note.proto
protoc -I/usr/local/include -I.
-I$GOPATH/src
-I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis
--go_out=plugins=grpc:.
./proto/note.proto
protoc -I/usr/local/include -I.
-I$GOPATH/src
-I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis
--grpc-gateway_out=logtostderr=true:.
./proto/note.proto
docker run --rm -v
docker run --rm -v
syntax = "proto3";
package note;
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";
# Import cai nay
# Neu khong proto/note.proto:25:21: Option "(gogoproto.moretags)" unknown.
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
docker run --rm -v
$ go build -o server_default server/main.go
$ go build -o client_default client/main.go
curl -XDELETE http://localhost:8080/note/123