-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some other imports not existing #43
Comments
@Raffo Could you paste your interface here? Default example in |
Sure, here it is:
I actually copy-pasted from the |
Oh, I understand. Please, use this code, I need to fix readme. package stringsvc
import (
"context"
"github.com/devimteam/microgen/example/svc/entity"
)
// @microgen middleware, logging, grpc, http, recover, main
// @grpc-addr service.string
// @protobuf github.com/devimteam/microgen/example/protobuf
type StringService interface {
// @logs-ignore ans, err
Uppercase(ctx context.Context, stringsMap map[string]string) (ans string, err error)
Count(ctx context.Context, text string, symbol string) (count int, positions []int, err error)
// @logs-len comments
TestCase(ctx context.Context, comments []*entity.Comment) (tree map[string]int, err error)
} |
That's cool thanks! I guess you can open another issue or use this one to keep track of fixing the readme :-) |
Sorry to bother again, but there is another issue.
I get this error when I try to build a main:
This is the part of code that is failing:
The progress might be in
github.com/devimteam/proto-utils
but I report it here because it could just be the way it is used.The text was updated successfully, but these errors were encountered: