Initial trial and error draft of using gopherjs.

This commit is contained in:
genxium
2022-12-23 17:31:04 +08:00
parent faee73ae50
commit 69e6baf8e7
25 changed files with 211226 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
syntax = "proto3";
option go_package = "battle_srv/protos"; // here "./" corresponds to the "--go_out" value in "protoc" command
option go_package = "jsexport/protos"; // here "./" corresponds to the "--go_out" value in "protoc" command
package protos;
import "geometry.proto"; // The import path here is only w.r.t. the proto file, not the Go package.