kbiakov/Anakin

View on GitHub
src/templates/client_method

Summary

Maintainability
Test Coverage
// TODO: ADD ADDITIONAL INFO BELOW
func {{.Method}}(req *pb.{{.Request}}) (*pb.{{.Response}}, error) {
    c := Get{{.Service}}ClientInstance()
    res := &c.{{.Method}}(context.Background(), &req)
    return res
}