Beispiel #1
0
func wmain() {
	webkit.InitWebKit()
	str := webkit.RenderHtml(HTML_STRING_2, "http://google.com/")
	fmt.Printf("HERERERERE\n")
	fmt.Printf("%s\n", str)
}
Beispiel #2
0
func doGrab(w http.ResponseWriter, req *http.Request) {
	fmt.Printf("Got Html: %s\n", webkit.RenderHtml(HTML_STRING_2, "."))
}