EnglishFrenchSpanish

OnWorks favicon

protoc-gen-go - Online in the Cloud

Run protoc-gen-go in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command protoc-gen-go that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


protoc-gen-go - Go compiler output filter for the protocol buffer compiler

SYNOPSIS


protoc --plugin=protoc-gen-go=/usr/bin/protoc-gen-go --go_out=gocode input.proto

protoc --go_out=gocode input.proto

DESCRIPTION


protoc-gen-go is a filter for the protoc(1) protocol buffer compiler. It takes the
protocol buffer format from protoc(1) as input and produces Go code as output which can
then be used to encode (marshal) and decode (unmarshal) data in the protocol buffer format
specified in its input. The input is typically produced by protoc(1) by taking a .proto
input file and converting it to a protocol buffer descriptor format which protoc-gen-go
can then read. If protoc-gen-go can be found in the regular search path, the --plugin
flag can be omitted.

OPTIONS


protoc-gen-go itself doesn't like options. All input is taken from stdin. If you use the
protobuf compiler to invoke protoc-gen-go, see protoc(1) for a detailed list of all
options.

Use protoc-gen-go online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad