activity-log

module
v0.0.0-...-3cf6aa3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2022 License: MPL-2.0

README

activity-log

Another grpc example

go mod init github.com/CodingForFunAndProfit/activity-log

go get google.golang.org/protobuf/cmd/protoc-gen-go go get google.golang.org/grpc/cmd/protoc-gen-go-grpc

protoc api/v1/activityproto
--go_out=.
--go_opt=paths=source_relative
--proto_path=.

CTRL + SHIFT + P: reload window

protoc api/v1/activity.proto
--go-grpc_out=.
--go-grpc_opt=paths=source_relative
--proto_path=.

go mod tidy

CTRL + SHIFT + P: reload window

Or: protoc api/v1/*.proto
--go_out=.
--go_opt=paths=source_relative
--go-grpc_out=.
--go-grpc_opt=paths=source_relative
--proto_path=.

Directories

Path Synopsis
api
v1
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL