Git Product home page Git Product logo

dip-demos's Introduction

dip-demos

Gson

cd gson
bazel run gson

Guice

cd guice
bazel run Guice

Thrift

cd thrift

thrift -r -out src/main/java --gen java ./echoService.thrift
bazel run server
bazel run client

grpc

基于bazel 创建gRPC项目(难点在于bazel中配置proto编译插件:Protobuf and gRPC rules for Bazel ) WORKSPACE中通过 下列语句安装rules_proto_grpc插件

1http_archive( 2 name = "rules_proto_grpc", 3 sha256 = "28724736b7ff49a48cb4b2b8cfa373f89edfcb9e8e492a8d5ab60aa3459314c8", 4 strip_prefix = "rules_proto_grpc-4.0.1", 5 urls = ["https://github.com/rules-proto-grpc/rules_proto_grpc/archive/4.0.1.tar.gz"], 6) 7 ❌按java_grpc_compile模式配置(能正常编译proto文件但是java源码无法自动识别) (来日再战)尝试按java-grpc-library 配置(build报错:ERROR: error loading package '': cannot load '@maven//:compat.bzl': no such file)

dip-demos's People

Contributors

54corbin avatar

Stargazers

cabbage.chen avatar

Watchers

 avatar

Forkers

cabbagecgh

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.