import "github.com/go-chi/chi/_examples/versions/presenter/v1"
article.go
Article presented in API version 1.
type Article struct { *data.Article Data map[string]bool `json:"data" xml:"data"` }
func NewArticleResponse(article *data.Article) *Article
func (a *Article) Render(w http.ResponseWriter, r *http.Request) error