Skip to content

Commit

Permalink
fix generation for current protocol (#73)
Browse files Browse the repository at this point in the history
* fix generation for current protocol

go 1.20 renders the type differently apparently

* exclude yaml changes from chore label

---------

Co-authored-by: Andrey Kaipov <[email protected]>
  • Loading branch information
andreykaipov and andreykaipov authored Dec 17, 2023
1 parent a585b2e commit 3fc3a65
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ autolabeler:
- label: chore
files:
- '*.md'
- '*.yml'
- '*.yaml'
- 'docker/*'
- '*.sh'
- Makefile
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/andreykaipov/goobs

go 1.19
go 1.20

require (
github.com/buger/jsonparser v1.1.1
Expand Down
2 changes: 1 addition & 1 deletion internal/generate/tests/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func generateRequestTest(subclient, category string, structs map[string]StructFi
default:
val = Lit("")
}
case "map[string] interface{}":
case "map[string]interface{}":
val = Map(String()).Interface().Values(Dict{
Lit("test"): Lit("test"),
})
Expand Down

0 comments on commit 3fc3a65

Please sign in to comment.