Hacker News new | ask | show | jobs
Show HN: Go RPC with automatically generated TypeScript client (github.com)
1 points by ola 802 days ago
This is a tiny Go package that is kind of a mix between tRPC[0] and Go's standard library net/rpc[1].

Like net/rpc the package provides access to the exported methods of an object across HTTP and like tRPC it creates a typesafe TypeScript (or JavaScript with JSDoc annotations) client that can be used by a frontend.

[0] https://trpc.io

[1] https://pkg.go.dev/net/rpc