Skip to content

Commit 17b4d00

Browse files
committed
feat: rename struct for clarification
1 parent 1b05b2f commit 17b4d00

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

models/models_request.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package models
22

3-
type BodyRequest struct {
4-
Query Query `json:"query,omitempty"`
3+
type BodyRequestLawsuit struct {
4+
Query QueryLawsuit `json:"query,omitempty"`
55
}
66

7-
type Query struct {
8-
Match Match `json:"match,omitempty"`
7+
type QueryLawsuit struct {
8+
Match MatchLawsuit `json:"match,omitempty"`
99
}
1010

11-
type Match struct {
11+
type MatchLawsuit struct {
1212
CNJNumber string `json:"numeroProcesso,omitempty"`
1313
}

0 commit comments

Comments
 (0)