File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 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 " />
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ type Outgoing struct {
5252func 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 )
Original file line number Diff line number Diff line change 1+ Subproject commit d0c094317fcd79e94b78fa4527cad92a579e7446
You can’t perform that action at this time.
0 commit comments