all repos — gomponents @ e61fd62eb0903e1290e831d17ae5935297ab2ed1

HTML components in pure Go

implement io.WriterTo in built-in Node types

Alan Pearce
commit

e61fd62eb0903e1290e831d17ae5935297ab2ed1

parent

05e8f19a1e99691c807bc060e2e1656de298e842

1 file changed, 4 insertions(+), 0 deletions(-)

changed files
M http/handler_test.gohttp/handler_test.go
@@ -83,6 +83,10 @@ }
type erroringNode struct{} +func (n erroringNode) WriteTo(io.Writer) (int64, error) { + return 0, errors.New("don't want to") +} + func (n erroringNode) Render(io.Writer) error { return errors.New("don't want to") }