protoc-gen-structify

command module
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: MIT Imports: 1 Imported by: 0

README

protoc-gen-structify

Go Report Card

protoc-gen-structify is a protoc plugin designed to generate structured Go data types from your Protocol Buffers (protobuf) definitions. It provides an easy way to create Go structs that match your protobuf messages, enhancing the integration between protobuf and Go.

Features

  • Automatically generates Go structs based on protobuf messages.
  • Supports both simple and complex protobuf types.
  • Maintains field names, types, and tags consistent with the protobuf definitions.
  • Example usage available in the examples directory.

Installation

To install protoc-gen-structify, run the following command:

go install github.com/cjp2600/protoc-gen-structify@latest

Make sure that your GOPATH/bin is added to your PATH environment variable so that protoc can find the plugin.

Usage

To use protoc-gen-structify with protoc, run the following command in your project directory:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
example
case_two/db
Code generated by protoc-gen-structify.
Code generated by protoc-gen-structify.
case_one Module

Jump to

Keyboard shortcuts

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