Documentation ¶
Overview ¶
Package goval exposes functions to return strings containing a roundabout type declaration for passed interfaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MarshalFunc object.MarshalFunc = func(r object.Responder, rq object.Request) (err error) { r.ContentType("text/plain;charset=utf8") _, err = io.Copy(r, strings.NewReader(Val(r.I))) return }
A text/plain MarshalFunc that encodes the response as a Go type declaration.
Functions ¶
func FormatFuncArguments ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.