MCPcopy
hub / github.com/go-chi/chi / NewUserPayloadResponse

Function NewUserPayloadResponse

_examples/rest/main.go:295–297  ·  view source on GitHub ↗
(user *User)

Source from the content-addressed store, hash-verified

293}
294
295func NewUserPayloadResponse(user *User) *UserPayload {
296 return &UserPayload{User: user}
297}
298
299// Bind on UserPayload will run after the unmarshalling is complete, its
300// a good time to focus some post-processing after a decoding.

Callers 1

NewArticleResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected