Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelarte authored Nov 18, 2024
1 parent 217aae8 commit 52bbaf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nested/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func main() {
fmt.Printf("All the address fields:\n%s", w.Body.String())

w = httptest.NewRecorder()
req, _ = http.NewRequest("GET", "/users/manuel?fields=name,surname,address(name,zipcode)", nil)
req, _ = http.NewRequest("GET", "/users/manuel?fields=name,surname,address(number,zipcode)", nil)
r.ServeHTTP(w, req)
fmt.Printf("Some address fields:\n%s", w.Body.String())

Expand Down

0 comments on commit 52bbaf4

Please sign in to comment.