MCPcopy Index your code
hub / github.com/gopherdata/gophernotes / Auto

Function Auto

display.go:362–364  ·  view source on GitHub ↗

same as Any("", data), autodetects MIME type

(data interface{})

Source from the content-addressed store, hash-verified

360
361// same as Any("", data), autodetects MIME type
362func Auto(data interface{}) Data {
363 return render("", data)
364}
365
366func MakeData(mimeType string, data interface{}) Data {
367 d := Data{

Callers

nothing calls this directly

Calls 1

renderFunction · 0.85

Tested by

no test coverage detected