Skip to content

Commit ab7a6a5

Browse files
committed
fix: use JSONName for json marshaling
Signed-off-by: Christian Stewart <[email protected]>
1 parent 5da3d8e commit ab7a6a5

File tree

7 files changed

+29
-8
lines changed

7 files changed

+29
-8
lines changed

example/example.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/aperturerobotics/template
33
go 1.22
44

55
require (
6-
github.com/aperturerobotics/protobuf-go-lite v0.4.1 // latest
6+
github.com/aperturerobotics/protobuf-go-lite v0.4.3 // latest
77
github.com/aperturerobotics/starpc v0.30.0 // latest
88
)
99

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/aperturerobotics/protobuf-go-lite v0.4.1 h1:jd+DhFlf/f+L5gJPDCFrezBcaydCaxt5Keg0IJzJvOU=
2-
github.com/aperturerobotics/protobuf-go-lite v0.4.1/go.mod h1:wRZn4YydbTn8Bdx4NB6ms0doF19llgim+0SNBvQ7M9c=
1+
github.com/aperturerobotics/protobuf-go-lite v0.4.3 h1:QDoO0ytzO71UWSPbaPi4XF5LfKYDJYxIBlimjYOh5nY=
2+
github.com/aperturerobotics/protobuf-go-lite v0.4.3/go.mod h1:wRZn4YydbTn8Bdx4NB6ms0doF19llgim+0SNBvQ7M9c=
33
github.com/aperturerobotics/starpc v0.30.0 h1:Cjld2mRILmUVGvtLvTykUDsRDGwslUywp9BMbkrB6x4=
44
github.com/aperturerobotics/starpc v0.30.0/go.mod h1:dwoVi6UdTp1bUGIAxDpkYwDN+j3opZz3xg0NGBGqDeU=
55
github.com/aperturerobotics/util v1.17.1 h1:7qG1Am+vNAelbXCdYOYfnMaZKM28QBWVCi+zvkjo+d4=

hack/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require (
1818

1919
require (
2020
github.com/aperturerobotics/goprotowrap v0.3.1 // master
21-
github.com/aperturerobotics/protobuf-go-lite v0.4.1 // master
21+
github.com/aperturerobotics/protobuf-go-lite v0.4.3 // master
2222
github.com/aperturerobotics/starpc v0.30.0
2323
github.com/aperturerobotics/template v1.13.2
2424
)

hack/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ github.com/aperturerobotics/logrus v1.9.4-0.20240119050608-13332fb58195 h1:uyeD1
8585
github.com/aperturerobotics/logrus v1.9.4-0.20240119050608-13332fb58195/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
8686
github.com/aperturerobotics/protobuf-go v1.33.1-0.20240411062030-e36f75e0a3b8 h1:Juij9Gj5jVOJjqiu3EGHWnX9nH6fkBeGGu/3U8i5qss=
8787
github.com/aperturerobotics/protobuf-go v1.33.1-0.20240411062030-e36f75e0a3b8/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
88-
github.com/aperturerobotics/protobuf-go-lite v0.4.1 h1:jd+DhFlf/f+L5gJPDCFrezBcaydCaxt5Keg0IJzJvOU=
89-
github.com/aperturerobotics/protobuf-go-lite v0.4.1/go.mod h1:wRZn4YydbTn8Bdx4NB6ms0doF19llgim+0SNBvQ7M9c=
88+
github.com/aperturerobotics/protobuf-go-lite v0.4.3 h1:QDoO0ytzO71UWSPbaPi4XF5LfKYDJYxIBlimjYOh5nY=
89+
github.com/aperturerobotics/protobuf-go-lite v0.4.3/go.mod h1:wRZn4YydbTn8Bdx4NB6ms0doF19llgim+0SNBvQ7M9c=
9090
github.com/aperturerobotics/starpc v0.30.0 h1:Cjld2mRILmUVGvtLvTykUDsRDGwslUywp9BMbkrB6x4=
9191
github.com/aperturerobotics/starpc v0.30.0/go.mod h1:dwoVi6UdTp1bUGIAxDpkYwDN+j3opZz3xg0NGBGqDeU=
9292
github.com/ashanbrown/forbidigo v1.6.0 h1:D3aewfM37Yb3pxHujIPSpTf6oQk9sc9WZi8gerOIVIY=

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
},
5454
"dependencies": {
5555
"@bufbuild/protobuf": "^1.8.0",
56-
"starpc": "^0.31.1"
56+
"starpc": "^0.31.2"
5757
}
5858
}

yarn.lock

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1775,6 +1775,27 @@ starpc@^0.31.1:
17751775
uint8arraylist "^2.4.7"
17761776
ws "^8.15.1"
17771777

1778+
starpc@^0.31.2:
1779+
version "0.31.2"
1780+
resolved "https://registry.yarnpkg.com/starpc/-/starpc-0.31.2.tgz#47c57082dd3d9f815160658d39e98d2146f59de7"
1781+
integrity sha512-gX/XADJba90NYCj6WkU+uxdf2TFPI2TcHXdVrKeRHKxgg/UGs7aLP7e/fIvSnpKI+RenmpLU0SXgIpGQYkdZkA==
1782+
dependencies:
1783+
"@aptre/it-ws" "^1.0.0"
1784+
"@bufbuild/protobuf" "^1.8.0"
1785+
"@bufbuild/protoplugin" "^1.8.0"
1786+
"@chainsafe/libp2p-yamux" "^6.0.2"
1787+
"@libp2p/interface" "^1.1.3"
1788+
"@libp2p/logger" "^4.0.6"
1789+
event-iterator "^2.0.0"
1790+
isomorphic-ws "^5.0.0"
1791+
it-first "^3.0.3"
1792+
it-pipe "^3.0.1"
1793+
it-pushable "^3.2.3"
1794+
it-stream-types "^2.0.1"
1795+
memoize-one "^6.0.0"
1796+
uint8arraylist "^2.4.7"
1797+
ws "^8.15.1"
1798+
17781799
string-width@^4.1.0, string-width@^4.2.0:
17791800
version "4.2.3"
17801801
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"

0 commit comments

Comments
 (0)