Giter Site home page Giter Site logo

protoc 执行报错 about tron-rpc HOT 2 CLOSED

smirkcat avatar smirkcat commented on June 5, 2024
protoc 执行报错

from tron-rpc.

Comments (2)

DukeDeng avatar DukeDeng commented on June 5, 2024

屏蔽代码后,执行,生成的*.pb文件加载到了新建的github.com/tronprotocol/* 文件夹下

from tron-rpc.

smirkcat avatar smirkcat commented on June 5, 2024

哦,这里手动修改了生成的代码的 他自动github.com/tronprotocol/ core 和 api 目录下, 至于为什么在这个目录下,是因为官方的proto文件是这么写的哈,这个需要你要去了解grpc相关知识,这里我不在过多叙述。
生成代码之后我把 core api 这两个目录移动到了项目根目录下面,然后我修改api目录下面那两个文件 引入的包 core "github.com/tronprotocol/grpc-gateway/core" 为 core "tron/core"

from tron-rpc.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.