codegen

command
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: BSD-3-Clause-Clear Imports: 5 Imported by: 0

README

SDK Codegen

Overview

This folder contains the code generation logic for the SDK's connectrpc components. It automates the creation of ConnectRPC wrapper clients to ensure consistency and reduce manual effort. These clients have similar interfaces to the GRPC proto generated clients allowing for ease of transition to ConnectRPC client-side.


What It Generates

The code generation in this folder focuses on:

  1. ConnectRPC wrapper clients for various platform services
  2. Interfaces for each wrapper client

The clients generated are defined in clientsToGenerateList in main.go.


How to Run Code Generation

To generate the internal SDK code:

go run ./sdk/codegen

Or use the provided Makefile command

make connect-wrapper-generate

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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