json-to-grpc-app

command module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2018 License: MIT Imports: 16 Imported by: 0

README

中文文档

Introduction

this project just made a GUI app, copy json to left textarea then click elsewhere(just blur) you will get grpc message
I used a open source project(much appreciated):https://github.com/asticode/go-astilectron
by the way , the parse json part is my another project https://github.com/GrayOxygen/json-to-grpc

Why Use Me?

  1. not only nest struct , also multi separate struct
    screenshot
  2. same struct name rule
    from top to bottom , use father node name + current name as a new name screenshot

Download App

you can download app https://github.com/GrayOxygen/json-to-grpc-app/releases just unzip release file to get app

exe or mac app, if you use mac app , you just unzip file to anywhere,double click JsonGoProtoApp,can be work , I mean there is no mac app in Applications for you,cuz I generated mac app,but not work be a app in Applications


Or you can also install manually follow below 5 steps to get app if you want change my code for your purpose .

Step 1: install the app

Run the following commands:

$ go get -u github.com/GrayOxygen/json-to-grpc-app/...
$ rm $GOPATH/src/github.com/GrayOxygen/json-to-grpc-app/bind.go

Step 2: install the bundler

Run the following command:

$ go get -u github.com/asticode/go-astilectron-bundler/...

And don't forget to add $GOPATH/bin to your $PATH.

Step 3: bundle the app for your current environment

Run the following commands:

$ cd $GOPATH/src/github.com/GrayOxygen/json-to-grpc-app
$ astilectron-bundler -v

Step 4: use the app

The result is in the output/<your os>-<your arch> folder and is waiting for you to use it!

Step 5: bundle the app for more environments

To bundle the app for more environments, add an environments key to the bundler configuration (bundler.json):

"environments": [
  {"arch": "amd64", "os": "linux"},
  {"arch": "amd64", "os": "windows"},
  {"arch": "386", "os": "windows"},
  {"arch": "amd64", "os": "darwin"},
]

and repeat step 3.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL