Code Monkey home page Code Monkey logo

protocg's Introduction

protocg

中文

Use

Use both local file and git-remote as source for protoc.

Need install git protoc and language-plugin yourself, and make them work good.

Install

go install github.com/yockliu/protocg:v0.0.3

How

  1. Add protocg.yaml

  2. run protocg gen

protocg.yaml

param type desc
version string version of the config file, no use now
name string name of the config file, no use now
opts string array opts of protoc, like --go_out=./pb
src.local string array local proto source path
src.remote remote array git-remote proto source
proto_path.local string array local proto_path
proto_path.remote remote array git-remote proto_path
  • remote:
param type desc
repo string git remote repo url
refs string refs of git (branch or tag)
path string array proto file path in git

see:example/protocg.yaml

Keywords

protoc remote git version control

protocg's People

Watchers

James Cloos avatar Yock avatar

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.