Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.229 kB
package h
import (
"fmt"
"io"
)
type Unsafe string
func (u Unsafe) HTML() (HTML, error) {
return u, fmt.Errorf("Unsafe.HTML called for %s", u)
}
func (u Unsafe) Write(w io.Writer) (int, error) {
return fmt.Fprint(w, u)
}
Jump to Line
Something went wrong with that request. Please try again.