Skip to content

Commit

Permalink
Regenerate examples
Browse files Browse the repository at this point in the history
  • Loading branch information
darkhorse0311 committed Aug 23, 2023
1 parent 3bc62bd commit b71d31c
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion _examples/golang-basics/example.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/golang-imports/api.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/golang-nodejs/client/client.gen.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// example v0.0.1 d1747ce08492a2ae743797161ea176c0ff23f049
// --
// Code generated by webrpc-gen@v0.13.0-dev with javascript generator. DO NOT EDIT.
// Code generated by webrpc-gen@v0.14.0-dev with javascript generator. DO NOT EDIT.
//
// webrpc-gen -schema=example.webrpc.json -target=javascript -client -out=./client/client.gen.mjs

Expand Down
2 changes: 1 addition & 1 deletion _examples/golang-nodejs/server/server.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/hello-webrpc-ts/server/hello_api.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/hello-webrpc-ts/webapp/src/client.gen.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable */
// hello-webrpc v1.0.0 53f96255d2b7aa43887d5317394e9efe57248bda
// --
// Code generated by webrpc-gen@v0.13.0-dev with typescript generator. DO NOT EDIT.
// Code generated by webrpc-gen@v0.14.0-dev with typescript generator. DO NOT EDIT.
//
// webrpc-gen -schema=hello-api.ridl -target=typescript -client -out=./webapp/src/client.gen.ts

Expand Down
2 changes: 1 addition & 1 deletion _examples/hello-webrpc/server/hello_api.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/hello-webrpc/webapp/client.gen.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// hello-webrpc v1.0.0 e7d03ae5c6db914d3d31a21b762b6c3af1af1a07
// --
// Code generated by webrpc-gen@v0.13.0-dev with javascript generator. DO NOT EDIT.
// Code generated by webrpc-gen@v0.14.0-dev with javascript generator. DO NOT EDIT.
//
// webrpc-gen -schema=hello-api.ridl -target=javascript -exports=false -client -out=./webapp/client.gen.js

Expand Down
2 changes: 1 addition & 1 deletion _examples/node-ts/server/server.gen.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable */
// node-ts v1.0.0 2167bb6fb0a186ff099cd8a309c6ffbbd7d1b9c0
// --
// Code generated by webrpc-gen@v0.13.0-dev with typescript generator. DO NOT EDIT.
// Code generated by webrpc-gen@v0.14.0-dev with typescript generator. DO NOT EDIT.
//
// webrpc-gen -schema=service.ridl -target=typescript -server -out=./server/server.gen.ts

Expand Down
2 changes: 1 addition & 1 deletion _examples/node-ts/webapp/client.gen.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable */
// node-ts v1.0.0 2167bb6fb0a186ff099cd8a309c6ffbbd7d1b9c0
// --
// Code generated by webrpc-gen@v0.13.0-dev with typescript generator. DO NOT EDIT.
// Code generated by webrpc-gen@v0.14.0-dev with typescript generator. DO NOT EDIT.
//
// webrpc-gen -schema=service.ridl -target=typescript -client -out=./webapp/client.gen.ts

Expand Down
2 changes: 1 addition & 1 deletion tests/client/client.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/schema/test.debug.gen.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2534,7 +2534,7 @@
Deprecated_Messages: ([]interface {}) <nil>
}),
SchemaHash: (string) (len=40) "7007c2ec8ccd58e0d4e9451d42e35be10140b8eb",
WebrpcGenVersion: (string) (len=11) "v0.13.0-dev",
WebrpcGenVersion: (string) (len=11) "v0.14.0-dev",
WebrpcGenCommand: (string) (len=84) "webrpc-gen -schema=./schema/test.ridl -target=debug -out=./schema/test.debug.gen.txt",
WebrpcTarget: (string) (len=5) "debug",
WebrpcErrors: ([]*schema.Error) (len=8 cap=8) {
Expand Down
2 changes: 1 addition & 1 deletion tests/server/server.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ package webrpc

// VERSION defines version of webrpc tools, such as webrpc-gen.
//
// Please update major/minor version by hand when changing webrpc-gen
// Template Functions API or when making any backward-incompatible changes.
// Please update major/minor version when making any incompatible changes
// to the webrpc schema or webrpc-gen Template Functions API.
// The patch value is automatically updated with the latest git tag in CI.
//
// Available as {{.WebrpcGenVersion}} in generator templates. Templates can
// check against {{.WebrpcGenVersion}} to require minimal major/minor version
// to guarantees certain Template functions API.
// Version is available as {{.WebrpcGenVersion}} in generator templates.
var VERSION = "v0.14.0-dev"

0 comments on commit b71d31c

Please sign in to comment.