profile

module
v1.16.6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0

README

service-profile-api

A repository for the profile service api being developed for ant investors

How do I update the definitions?
  • The api definition is defined in the proto file profile.proto

  • To update the proto service you need to run the command :

    protoc --proto_path=../apis --proto_path=./v1 --go_out=./ --validate_out=lang=go:. profile.proto

    protoc --proto_path=../apis --proto_path=./v1 profile.proto --go-grpc_out=./

    mockgen -source=profile_grpc.pb.go -self_package=github.com/antinvestor/service-profile-api -package=profilev1 -destination=profile_grpc_mock.go

with that in place update the implementation appropriately

Directories

Path Synopsis
Package profilev1 is a generated GoMock package.
Package profilev1 is a generated GoMock package.

Jump to

Keyboard shortcuts

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