Skip to content

Commit ca3dc2e

Browse files
Merge pull request #14 from miketheprogrammer/example/jankybrowser
Added jankybrowser as an example
2 parents 4015cc3 + 177306c commit ca3dc2e

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

examples/chat/chat.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<style>{{template "chat.css"}}</style>
66
</head>
77
<body onLoad="init();" height="100%">
8+
<img height="60px" width="200px" src="http://i.imgur.com/DwFKI0J.png"/>
9+
<br/>
10+
<h3>Welcome to the Go-Thrust Chat Demo.</h3>
811
<div id="msg"></div>
912
<form name="msgform" action="#" onsubmit="return send();">
1013
<input type="text" name="name" size="0" value="J. Doe" />

examples/chat/server.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ type Outgoing struct {
5252
func index(w http.ResponseWriter, req *http.Request) {
5353
w.Header().Set("Content-Type", "text/html")
5454
w.WriteHeader(http.StatusOK)
55-
fmt.Println("http handler handler \n\n\n asjhjdlaskd")
5655
err := html.ExecuteTemplate(w, "chat.html", nil)
5756
if err != nil {
5857
log.Printf("Template error: %v", err)

examples/jankybrowser

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit d0c094317fcd79e94b78fa4527cad92a579e7446

0 commit comments

Comments
 (0)