Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion _examples/hello-webrpc/webapp/client.gen.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
// hello-webrpc v1.0.0
// hello-webrpc v1.0.0 949b00a8db9810c69295f9dd9f02587a65d3c497
// --
// Code generated by webrpc-gen@v0.37.0 with ../../ generator. DO NOT EDIT.
//
// webrpc-gen -schema=hello-api.ridl -target=../../ -exports=false -client -out=./webapp/client.gen.js

// WebRPC description and code-gen version
const WebRPCVersion = "v1"

// Schema version of your RIDL schema
const WebRPCSchemaVersion = "v1.0.0"

// Schema hash generated from your RIDL schema
const WebRPCSchemaHash = "949b00a8db9810c69295f9dd9f02587a65d3c497"

//
// Types
//
Expand Down
2 changes: 1 addition & 1 deletion main.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{- set $opts "client" (ternary (in .Opts.client "" "true") true false) -}}
{{- set $opts "server" (ternary (in .Opts.server "" "true") true false) -}}
{{- set $opts "exports" (ternary (in .Opts.exports "false") false true) -}}
{{- set $opts "schemaHash" (ternary (in .Opts.schemaHash "" "true") true false) -}}
{{- set $opts "schemaHash" (ternary (eq (default .Opts.schemaHash "true") "false") false true) -}}

{{- /* Print help on -help. */ -}}
{{- if exists .Opts "help" -}}
Expand Down
Loading