with v2 the same piece of interaction looks this w...
# pact-go
v
with v2 the same piece of interaction looks this way:
Copy code
WillRespondWith(http.StatusOK, func(b *consumer.V4ResponseBuilder) {
   b.
      Header("Content-Type", matchers.S("application/json")).
      JSONBody(matchers.MapMatcher{
         "code":      matchers.Term(code, uuidMatcher),
         "closed-at": matchers.Timestamp(),
      })
},
)
and the contract: