protobuf_lite_ts

command
v0.0.54 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: MIT Imports: 7 Imported by: 0

README

Protobuf Lite TS

This directory contains a .proto file with a example message. We generate two files with protobuf-go-lite and protobuf-es-lite:

  • protobuf_lite_ts.pb.ts: generated by protobuf-go-lite
  • protobuf_lite_ts.pb.ts: generated by protobuf-es-lite

When running in Go we use the protobuf-go-lite generated file, and when running in TS we use the protobuf-es-lite generated file.

When we generate a TypeScript package with Goscript for protobuf_lite_ts we need to recognize the presence of the .pb.ts file and use it instead of attempting to transpile the .pb.go file.

The api may not be 1-1 equivalent to the Go version so we may need to add some special handling to the Goscript compiler to handle the differences.

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