Updating resources according to instructions

This commit is contained in:
Brandon Watson
2023-08-14 21:03:23 -05:00
parent bdb7a39a91
commit a290cd1420
9 changed files with 89 additions and 108 deletions

View File

@ -18,9 +18,9 @@ var _ = Service("inventory", func() {
Description("A GRPC back service that handles CRUD operations for the characters inventories")
Method("listInventory", func() {
Payload(func() {
Field(1, "characterId", Int)
Field(1, "characterName", String)
})
Result(ArrayOf(Int))
Result(ArrayOf(String))
GRPC(func() {
Response(CodeOK)