types

package
v0.19.765 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

README

protos

This directory is for managing protocol buffers at Nuon.

We generate all protos from the same branch for both Node and Go apps, and no longer push protos into the buf registry. You should never have to be logged into buf to generate protos here.

repos

Each top level directory in this project corresponds to a buf repository. These generally break down into two categories:

services

Repository services represent services that we expose, this means that their types should not be considered "portable" and shared between buf repos.

  • workflows - our temporal workflow request/response params
objects

Objects represent core objects which can be shared throughout our system. They are not "owned" by a single service but rather shared amongst different protos and services.

  • external - vendored protos from upstreams. (Note: we can't call this vendor, as it will conflict with go's vendor directory).
  • shared - shared types
  • components - component definitions

NOTE: object protos are designed to be shared and are safe to import by services.

usage

Protos are generated during both CI and locally. They should no longer be checked into source control. To generate locally, run:

$ go generate ./...

Alternatively, if you have the buf cli present you can use buf fmt buf lint from within this folder.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToPtr

func ToPtr[T any](v T) *T

ToPtr generically returns a reference to the value v of type T

Types

This section is empty.

Jump to

Keyboard shortcuts

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