Generate types and service clients from protobuf definitions annotated with http rules.

protoc-gen-typescript-http

Generates Typescript types and service clients from protobuf definitions annotated with http rules. The generated types follow the canonical JSON encoding.

Experimental: This library is under active development and breaking changes to config files, APIs and generated code are expected between releases.

Using the plugin

For examples of correctly annotated protobuf defintions and the generated code, look at examples.

Install the plugin

go get github.com/einride/protoc-gen-typescript-http

Or download a prebuilt binary from releases.

Invocation

protoc 
  --typescript-http_out [OUTPUT DIR] \
  [.proto files ...]

The generated clients can be used with any HTTP client that returns a Promise containing JSON data.

const rootUrl = "...";

type Request = {
  path: string,
  method: string,
  body: string | null
}

function fetchRequestHandler({path, method, body}: Request) {
  return fetch(rootUrl + path, {method, body}).then(response => response.json())
}

export function siteClient() {
  return createShipperServiceClient(fetchRequestHandler);
}
Owner
Comments
  • chore(deps): bump go.einride.tech/sage from 0.170.0 to 0.182.0 in /.sage

    chore(deps): bump go.einride.tech/sage from 0.170.0 to 0.182.0 in /.sage

    Bumps go.einride.tech/sage from 0.170.0 to 0.182.0.

    Release notes

    Sourced from go.einride.tech/sage's releases.

    v0.182.0

    0.182.0 (2022-10-31)

    Feature

    • panic if dependency cycle is found (87a8d06e)

    v0.181.0

    0.181.0 (2022-10-27)

    Feature

    • sgcloudspanner: support offline mode (40e4aa99)

    v0.180.0

    0.180.0 (2022-10-24)

    Feature

    • sggolangcilint: bump to version 1.50.1 (ded671cc)

    v0.179.1

    0.179.1 (2022-10-23)

    Bug Fixes

    • sgfirebasetools: return correct url when setting site parameter (746160b1)

    Chores

    • dbt: bump dbt-bigquery version 1.2.0 -> 1.3.0 (cee67ac3)

    v0.179.0

    0.179.0 (2022-10-21)

    Feature

    • ci: default building with Go 1.19 (6629663e)

    v0.178.0

    0.178.0 (2022-10-17)

    Feature

    • rust: add sgrust tools (65d91bcf)

    v0.177.0

    0.177.0 (2022-10-14)

    Feature

    ... (truncated)

    Commits
    • 87a8d06 feat: panic if dependency cycle is found
    • 40e4aa9 feat(sgcloudspanner): support offline mode
    • ded671c feat(sggolangcilint): bump to version 1.50.1
    • 746160b fix(sgfirebasetools): return correct url when setting site parameter
    • cee67ac chore(dbt): bump dbt-bigquery version 1.2.0 -> 1.3.0
    • 6629663 feat(ci): default building with Go 1.19
    • 65d91bc feat(rust): add sgrust tools
    • cbe5d8c feat(grpc-service-config): bump to 0.8.0
    • 0e369f1 feat(example): add GoLicenses target to example
    • 97c2a13 feat(go-licenses): ignore go.einride.tech by default
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump go.einride.tech/sage from 0.106.0 to 0.107.0 in /.sage

    chore(deps): bump go.einride.tech/sage from 0.106.0 to 0.107.0 in /.sage

    Bumps go.einride.tech/sage from 0.106.0 to 0.107.0.

    Release notes

    Sourced from go.einride.tech/sage's releases.

    v0.107.0

    0.107.0 (2022-04-03)

    Feature

    • protoc-gen-go-grpc-service-config: bump to v0.2.2 (1df5df99)
    Commits
    • 1df5df9 feat(protoc-gen-go-grpc-service-config): bump to v0.2.2
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump google.golang.org/protobuf from 1.27.1 to 1.28.0

    chore(deps): bump google.golang.org/protobuf from 1.27.1 to 1.28.0

    Bumps google.golang.org/protobuf from 1.27.1 to 1.28.0.

    Commits
    • 32051b4 all: release v1.28.0
    • 3992ea8 all: implement depth limit for unmarshaling
    • e5db296 all: update supported versions
    • 3a9e1dc all: gofmt all
    • 26e8bcb all: remove unnecessary string([]byte) conversion in fmt.Sprintf with %s
    • 5aec41b testing/protocmp: add Message.Unwrap
    • 05be61f reflect/protoreflect: add more docs on Value aliasing
    • b03064a all: start v1.27.1-devel
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump go.einride.tech/sage from 0.182.0 to 0.192.0 in /.sage

    chore(deps): bump go.einride.tech/sage from 0.182.0 to 0.192.0 in /.sage

    Bumps go.einride.tech/sage from 0.182.0 to 0.192.0.

    Release notes

    Sourced from go.einride.tech/sage's releases.

    v0.192.0

    0.192.0 (2022-12-16)

    Feature

    • sgcloudspanner: pin Cloud Spanner emulator version (b7a2874e)

    v0.191.1

    0.191.1 (2022-12-16)

    Bug Fixes

    • spantest: cloudbuild host address (e24a690d)

    v0.191.0

    0.191.0 (2022-12-05)

    Feature

    • sglogger: add namespace prefix to logger (83ad25b8)

    v0.190.2

    0.190.2 (2022-12-02)

    Bug Fixes

    • gha-actions: evaluate composite input bool as string (68d1089d)

    v0.190.1

    0.190.1 (2022-12-01)

    Bug Fixes

    • spantest: use docker port to lookup port mapping (cc523c58)

    v0.190.0

    0.190.0 (2022-11-29)

    Feature

    • sgcloudsqlproxy: bump to v1.33.1 (9d4f535c)

    v0.189.1

    0.189.1 (2022-11-22)

    Bug Fixes

    • update broken gcloud download link for macOS (f212e591)

    v0.189.0

    ... (truncated)

    Commits
    • b7a2874 feat(sgcloudspanner): pin Cloud Spanner emulator version
    • e24a690 fix(spantest): cloudbuild host address
    • 83ad25b feat(sglogger): add namespace prefix to logger
    • 68d1089 fix(gha-actions): evaluate composite input bool as string
    • cc523c5 fix(spantest): use docker port to lookup port mapping
    • 9d4f535 feat(sgcloudsqlproxy): bump to v1.33.1
    • f212e59 fix: update broken gcloud download link for macOS
    • e4c2d9e feat: remove WTFPL after a discussion with legal
    • 2a6a629 feat: update license to match gos version
    • 3598a47 feat: add disableCache option to sage github action
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump go.einride.tech/sage from 0.182.0 to 0.191.0 in /.sage

    chore(deps): bump go.einride.tech/sage from 0.182.0 to 0.191.0 in /.sage

    Bumps go.einride.tech/sage from 0.182.0 to 0.191.0.

    Release notes

    Sourced from go.einride.tech/sage's releases.

    v0.191.0

    0.191.0 (2022-12-05)

    Feature

    • sglogger: add namespace prefix to logger (83ad25b8)

    v0.190.2

    0.190.2 (2022-12-02)

    Bug Fixes

    • gha-actions: evaluate composite input bool as string (68d1089d)

    v0.190.1

    0.190.1 (2022-12-01)

    Bug Fixes

    • spantest: use docker port to lookup port mapping (cc523c58)

    v0.190.0

    0.190.0 (2022-11-29)

    Feature

    • sgcloudsqlproxy: bump to v1.33.1 (9d4f535c)

    v0.189.1

    0.189.1 (2022-11-22)

    Bug Fixes

    • update broken gcloud download link for macOS (f212e591)

    v0.189.0

    0.189.0 (2022-11-21)

    Feature

    • remove WTFPL after a discussion with legal (e4c2d9e6)
    • update license to match gos version (2a6a6298)

    v0.188.0

    0.188.0 (2022-11-21)

    Feature

    • add disableCache option to sage github action (3598a475)

    ... (truncated)

    Commits
    • 83ad25b feat(sglogger): add namespace prefix to logger
    • 68d1089 fix(gha-actions): evaluate composite input bool as string
    • cc523c5 fix(spantest): use docker port to lookup port mapping
    • 9d4f535 feat(sgcloudsqlproxy): bump to v1.33.1
    • f212e59 fix: update broken gcloud download link for macOS
    • e4c2d9e feat: remove WTFPL after a discussion with legal
    • 2a6a629 feat: update license to match gos version
    • 3598a47 feat: add disableCache option to sage github action
    • e82f042 feat(yamlfmt): bump to 0.6.0
    • ef633de feat(buf): bump to v1.9.0
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump go.einride.tech/sage from 0.182.0 to 0.189.1 in /.sage

    chore(deps): bump go.einride.tech/sage from 0.182.0 to 0.189.1 in /.sage

    Bumps go.einride.tech/sage from 0.182.0 to 0.189.1.

    Release notes

    Sourced from go.einride.tech/sage's releases.

    v0.189.1

    0.189.1 (2022-11-22)

    Bug Fixes

    • update broken gcloud download link for macOS (f212e591)

    v0.189.0

    0.189.0 (2022-11-21)

    Feature

    • remove WTFPL after a discussion with legal (e4c2d9e6)
    • update license to match gos version (2a6a6298)

    v0.188.0

    0.188.0 (2022-11-21)

    Feature

    • add disableCache option to sage github action (3598a475)

    v0.187.0

    0.187.0 (2022-11-14)

    Feature

    • yamlfmt: bump to 0.6.0 (e82f042e)
    • buf: bump to v1.9.0 (ef633ded)

    v0.186.0

    0.186.0 (2022-11-09)

    Feature

    • update api-linter to v1.37.0 (c8b17067)

    v0.185.0

    0.185.0 (2022-11-09)

    Feature

    • sqlc: bump to v1.16.0 (014c4d61)

    Chores

    • deps: bump go-semantic-release/action from 1.18 to 1.19 (c06616d5)

    v0.184.1

    0.184.1 (2022-11-01)

    ... (truncated)

    Commits
    • f212e59 fix: update broken gcloud download link for macOS
    • e4c2d9e feat: remove WTFPL after a discussion with legal
    • 2a6a629 feat: update license to match gos version
    • 3598a47 feat: add disableCache option to sage github action
    • e82f042 feat(yamlfmt): bump to 0.6.0
    • ef633de feat(buf): bump to v1.9.0
    • c8b1706 feat: update api-linter to v1.37.0
    • 014c4d6 feat(sqlc): bump to v1.16.0
    • c06616d chore(deps): bump go-semantic-release/action from 1.18 to 1.19
    • a31dcd6 fix(actions): revert input to checkout different branch than default
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump go.einride.tech/sage from 0.182.0 to 0.187.0 in /.sage

    chore(deps): bump go.einride.tech/sage from 0.182.0 to 0.187.0 in /.sage

    Bumps go.einride.tech/sage from 0.182.0 to 0.187.0.

    Release notes

    Sourced from go.einride.tech/sage's releases.

    v0.187.0

    0.187.0 (2022-11-14)

    Feature

    • yamlfmt: bump to 0.6.0 (e82f042e)
    • buf: bump to v1.9.0 (ef633ded)

    v0.186.0

    0.186.0 (2022-11-09)

    Feature

    • update api-linter to v1.37.0 (c8b17067)

    v0.185.0

    0.185.0 (2022-11-09)

    Feature

    • sqlc: bump to v1.16.0 (014c4d61)

    Chores

    • deps: bump go-semantic-release/action from 1.18 to 1.19 (c06616d5)

    v0.184.1

    0.184.1 (2022-11-01)

    Bug Fixes

    • actions: revert input to checkout different branch than default (a31dcd64)

    v0.184.0

    0.184.0 (2022-11-01)

    Feature

    • actions: add input to checkout different branch than default (e443bb44)

    v0.183.1

    0.183.1 (2022-11-01)

    Bug Fixes

    • sgphrase: download binary instead of tar ball (f8373ede)

    v0.183.0

    0.183.0 (2022-11-01)

    ... (truncated)

    Commits
    • e82f042 feat(yamlfmt): bump to 0.6.0
    • ef633de feat(buf): bump to v1.9.0
    • c8b1706 feat: update api-linter to v1.37.0
    • 014c4d6 feat(sqlc): bump to v1.16.0
    • c06616d chore(deps): bump go-semantic-release/action from 1.18 to 1.19
    • a31dcd6 fix(actions): revert input to checkout different branch than default
    • e443bb4 feat(actions): add input to checkout different branch than default
    • f8373ed fix(sgphrase): download binary instead of tar ball
    • d88a0f3 feat(sgphrase): add command to download phrase translations
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump go.einride.tech/sage from 0.182.0 to 0.186.0 in /.sage

    chore(deps): bump go.einride.tech/sage from 0.182.0 to 0.186.0 in /.sage

    Bumps go.einride.tech/sage from 0.182.0 to 0.186.0.

    Release notes

    Sourced from go.einride.tech/sage's releases.

    v0.186.0

    0.186.0 (2022-11-09)

    Feature

    • update api-linter to v1.37.0 (c8b17067)

    v0.185.0

    0.185.0 (2022-11-09)

    Feature

    • sqlc: bump to v1.16.0 (014c4d61)

    Chores

    • deps: bump go-semantic-release/action from 1.18 to 1.19 (c06616d5)

    v0.184.1

    0.184.1 (2022-11-01)

    Bug Fixes

    • actions: revert input to checkout different branch than default (a31dcd64)

    v0.184.0

    0.184.0 (2022-11-01)

    Feature

    • actions: add input to checkout different branch than default (e443bb44)

    v0.183.1

    0.183.1 (2022-11-01)

    Bug Fixes

    • sgphrase: download binary instead of tar ball (f8373ede)

    v0.183.0

    0.183.0 (2022-11-01)

    Feature

    • sgphrase: add command to download phrase translations (d88a0f3b)
    Commits
    • c8b1706 feat: update api-linter to v1.37.0
    • 014c4d6 feat(sqlc): bump to v1.16.0
    • c06616d chore(deps): bump go-semantic-release/action from 1.18 to 1.19
    • a31dcd6 fix(actions): revert input to checkout different branch than default
    • e443bb4 feat(actions): add input to checkout different branch than default
    • f8373ed fix(sgphrase): download binary instead of tar ball
    • d88a0f3 feat(sgphrase): add command to download phrase translations
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump go.einride.tech/sage from 0.182.0 to 0.184.1 in /.sage

    chore(deps): bump go.einride.tech/sage from 0.182.0 to 0.184.1 in /.sage

    Bumps go.einride.tech/sage from 0.182.0 to 0.184.1.

    Release notes

    Sourced from go.einride.tech/sage's releases.

    v0.184.1

    0.184.1 (2022-11-01)

    Bug Fixes

    • actions: revert input to checkout different branch than default (a31dcd64)

    v0.184.0

    0.184.0 (2022-11-01)

    Feature

    • actions: add input to checkout different branch than default (e443bb44)

    v0.183.1

    0.183.1 (2022-11-01)

    Bug Fixes

    • sgphrase: download binary instead of tar ball (f8373ede)

    v0.183.0

    0.183.0 (2022-11-01)

    Feature

    • sgphrase: add command to download phrase translations (d88a0f3b)
    Commits
    • a31dcd6 fix(actions): revert input to checkout different branch than default
    • e443bb4 feat(actions): add input to checkout different branch than default
    • f8373ed fix(sgphrase): download binary instead of tar ball
    • d88a0f3 feat(sgphrase): add command to download phrase translations
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump go.einride.tech/sage from 0.170.0 to 0.180.0 in /.sage

    chore(deps): bump go.einride.tech/sage from 0.170.0 to 0.180.0 in /.sage

    Bumps go.einride.tech/sage from 0.170.0 to 0.180.0.

    Release notes

    Sourced from go.einride.tech/sage's releases.

    v0.180.0

    0.180.0 (2022-10-24)

    Feature

    • sggolangcilint: bump to version 1.50.1 (ded671cc)

    v0.179.1

    0.179.1 (2022-10-23)

    Bug Fixes

    • sgfirebasetools: return correct url when setting site parameter (746160b1)

    Chores

    • dbt: bump dbt-bigquery version 1.2.0 -> 1.3.0 (cee67ac3)

    v0.179.0

    0.179.0 (2022-10-21)

    Feature

    • ci: default building with Go 1.19 (6629663e)

    v0.178.0

    0.178.0 (2022-10-17)

    Feature

    • rust: add sgrust tools (65d91bcf)

    v0.177.0

    0.177.0 (2022-10-14)

    Feature

    • grpc-service-config: bump to 0.8.0 (cbe5d8ca)

    v0.176.0

    0.176.0 (2022-10-13)

    Feature

    • example: add GoLicenses target to example (0e369f13)

    v0.175.0

    0.175.0 (2022-10-13)

    Feature

    ... (truncated)

    Commits
    • ded671c feat(sggolangcilint): bump to version 1.50.1
    • 746160b fix(sgfirebasetools): return correct url when setting site parameter
    • cee67ac chore(dbt): bump dbt-bigquery version 1.2.0 -> 1.3.0
    • 6629663 feat(ci): default building with Go 1.19
    • 65d91bc feat(rust): add sgrust tools
    • cbe5d8c feat(grpc-service-config): bump to 0.8.0
    • 0e369f1 feat(example): add GoLicenses target to example
    • 97c2a13 feat(go-licenses): ignore go.einride.tech by default
    • e5f467d feat: infer correct Go module path for Sage module
    • a729ce7 feat(go-licenses): add package
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump go.einride.tech/sage from 0.170.0 to 0.178.0 in /.sage

    chore(deps): bump go.einride.tech/sage from 0.170.0 to 0.178.0 in /.sage

    Bumps go.einride.tech/sage from 0.170.0 to 0.178.0.

    Release notes

    Sourced from go.einride.tech/sage's releases.

    v0.178.0

    0.178.0 (2022-10-17)

    Feature

    • rust: add sgrust tools (65d91bcf)

    v0.177.0

    0.177.0 (2022-10-14)

    Feature

    • grpc-service-config: bump to 0.8.0 (cbe5d8ca)

    v0.176.0

    0.176.0 (2022-10-13)

    Feature

    • example: add GoLicenses target to example (0e369f13)

    v0.175.0

    0.175.0 (2022-10-13)

    Feature

    • go-licenses: ignore go.einride.tech by default (97c2a131)

    v0.174.0

    0.174.0 (2022-10-13)

    Feature

    • infer correct Go module path for Sage module (e5f467df)

    v0.173.0

    0.173.0 (2022-10-13)

    Feature

    • go-licenses: add package (a729ce78)

    v0.172.0

    0.172.0 (2022-10-13)

    Feature

    • addind codeql (63aefadb)

    Bug Fixes

    ... (truncated)

    Commits
    • 65d91bc feat(rust): add sgrust tools
    • cbe5d8c feat(grpc-service-config): bump to 0.8.0
    • 0e369f1 feat(example): add GoLicenses target to example
    • 97c2a13 feat(go-licenses): ignore go.einride.tech by default
    • e5f467d feat: infer correct Go module path for Sage module
    • a729ce7 feat(go-licenses): add package
    • 16b49a3 fix: disallow use of .. in tar file paths
    • 3182c05 fix: linter fix
    • 63aefad feat: addind codeql
    • 5b22451 chore: update protoc-gen-typescript-http
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump go.einride.tech/sage from 0.182.0 to 0.192.1 in /.sage

    chore(deps): bump go.einride.tech/sage from 0.182.0 to 0.192.1 in /.sage

    Bumps go.einride.tech/sage from 0.182.0 to 0.192.1.

    Release notes

    Sourced from go.einride.tech/sage's releases.

    v0.192.1

    0.192.1 (2022-12-22)

    Bug Fixes

    • sgnpmlicense: output summary instead of csv (80530047)

    v0.192.0

    0.192.0 (2022-12-16)

    Feature

    • sgcloudspanner: pin Cloud Spanner emulator version (b7a2874e)

    v0.191.1

    0.191.1 (2022-12-16)

    Bug Fixes

    • spantest: cloudbuild host address (e24a690d)

    v0.191.0

    0.191.0 (2022-12-05)

    Feature

    • sglogger: add namespace prefix to logger (83ad25b8)

    v0.190.2

    0.190.2 (2022-12-02)

    Bug Fixes

    • gha-actions: evaluate composite input bool as string (68d1089d)

    v0.190.1

    0.190.1 (2022-12-01)

    Bug Fixes

    • spantest: use docker port to lookup port mapping (cc523c58)

    v0.190.0

    0.190.0 (2022-11-29)

    Feature

    • sgcloudsqlproxy: bump to v1.33.1 (9d4f535c)

    v0.189.1

    ... (truncated)

    Commits
    • 8053004 fix(sgnpmlicense): output summary instead of csv
    • b7a2874 feat(sgcloudspanner): pin Cloud Spanner emulator version
    • e24a690 fix(spantest): cloudbuild host address
    • 83ad25b feat(sglogger): add namespace prefix to logger
    • 68d1089 fix(gha-actions): evaluate composite input bool as string
    • cc523c5 fix(spantest): use docker port to lookup port mapping
    • 9d4f535 feat(sgcloudsqlproxy): bump to v1.33.1
    • f212e59 fix: update broken gcloud download link for macOS
    • e4c2d9e feat: remove WTFPL after a discussion with legal
    • 2a6a629 feat: update license to match gos version
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • support build options for filed type

    support build options for filed type

    This is a wonderful plugin! thank you for open source. I have a little issue.this is my proto file hello.proto:

    syntax = "proto3";
    
    message Reply {
    	string id = 1;  
    }
    

    this lib generate filed id type to string | undefined, but field id is define. If id is optional, i think string | undefined is ok, now id is default required, the generate field type should be string, not string | undefined

    version: latest

  • fix(type): Correctly map proto to json according to spec

    fix(type): Correctly map proto to json according to spec

    In protobuf definition (https://developers.google.com/protocol-buffers/docs/proto3#json), 64 bits numeric types should be interpreted as string in JSON.

A simple RPC framework with protobuf service definitions

Twirp is a framework for service-to-service communication emphasizing simplicity and minimalism. It generates routing and serialization from API defin

Jan 7, 2023
Plugs module to see different types of plug types needed in different countries, and a comparison tool between two countries plug socket types.

plugs Importing the module: go get github.com/matthewboyd/plugs "github.com/matthewboyd/plugs" How to use the module: There are two functions wi

Dec 28, 2021
protoCURL is cURL for Protobuf: The command-line tool for interacting with Protobuf over HTTP REST endpoints using human-readable text formats

protoCURL protoCURL is cURL for Protobuf: The command-line tool for interacting with Protobuf over HTTP REST endpoints using human-readable text forma

Jan 6, 2023
Gotypegraph - Generate definitions and references graph

gotypegraph Generate definitions and references graph. Usage ❯ gotypegraph -h Us

Feb 15, 2022
A Golang protobuf plugin used to generate the necessary interfaces to interact with the database

protoc-gen-go-db-enum This protobuf compiler plugin generates the Valuer and Scanner interfaces for enums defined in the proto files. It is highly bas

Sep 9, 2022
generate protobuf for asynq payload.

protoc-gen-go-asynq generate protobuf for asynq payload. usage 1. install protoc-gen-go-asynq # first install protobuf, then install go get -d google.

Dec 22, 2021
GSRPC compatible type definitions of events from the ChainBridge substrate pallet

chainbridge-substrate-events GSRPC compatible type definitions of events from the ChainBridge substrate pallet. ChainSafe Security Policy Reporting a

Nov 13, 2021
Support for Unix domain sockets in Go HTTP clients

unixtransport This package adds support for Unix domain sockets in Go HTTP clients. t := &http.Transport{...} unixtransport.Register(t) client := &h

Dec 21, 2022
Clients able to speak JSON over HTTP to the server

Location History Server How to run: Call the make run command. Clients able to speak JSON over HTTP to the server. There are three endpoints supported

Nov 4, 2021
Generate Typescript types from Golang source code

?? tygo Tygo is a tool for generating Typescript typings from Golang source files that just works. Other than reflection-based methods it preserves co

Dec 16, 2022
Service that calls uzma24/project1 service, takes input from .txt file and prints JSON output returned from the service.

Service that calls uzma24/project1 service, takes input from .txt file and prints JSON output returned from the service. Program can take large input files.

Feb 6, 2022
A Wireguard VPN Server Manager and API to add and remove clients

Wireguard Manager And API A manager and API to add, remove clients as well as other features such as an auto reapplier which deletes and adds back a c

Dec 22, 2022
Experiments with pulsar go client and protobuf

How to use proto schema with pulsar go client library Define a .proto file Generate Code using below command: protoc -I=. -I=$GOPATH/src -I=$GOPATH/sr

Nov 15, 2021
A Realtime API Gateway used with NATS to build REST, real time, and RPC APIs, where all your clients are synchronized seamlessly.
A Realtime API Gateway used with NATS to build REST, real time, and RPC APIs, where all your clients are synchronized seamlessly.

Realtime API Gateway Synchronize Your Clients Visit Resgate.io for guides, live demos, and resources. Resgate is a Go project implementing a realtime

Dec 31, 2022
protoc-gen-grpc-gateway-ts is a Typescript client generator for the grpc-gateway project. It generates idiomatic Typescript clients that connect the web frontend and golang backend fronted by grpc-gateway.

protoc-gen-grpc-gateway-ts protoc-gen-grpc-gateway-ts is a Typescript client generator for the grpc-gateway project. It generates idiomatic Typescript

Dec 19, 2022
Kiwi-balancer - A balancer is a gateway between the clients and the server

Task description Imagine a standard client-server relationship, only in our case

Feb 11, 2022
Protobuf files manager

Prot - protobuf files manager. It application can help your manage protobuf files and generate code based on him. !!! Before use Prot you must install

Jun 22, 2022
A Protocol Buffers compiler that generates optimized marshaling & unmarshaling Go code for ProtoBuf APIv2

vtprotobuf, the Vitess Protocol Buffers compiler This repository provides the protoc-gen-go-vtproto plug-in for protoc, which is used by Vitess to gen

Jan 1, 2023
protobuf ではなく JSON でやり取りするファイルを出力する protoc プラグイン

protoc-gen-jsonif proto ファイルから、JSON フォーマットでやりとりする型定義ファイルを出力する protoc プラグインです。 proto ファイルで言語を越えて型定義が出来るのはとても良い しかし protobuf ライブラリを入れるのが面倒 今のプロジェクトには既に

Feb 28, 2022