Change text/template to html/template in examples
@@ -6,9 +6,9 @@ package main
import (
"flag"
+ "html/template"
"log"
"net/http"
- "text/template"
)
var addr = flag.String("addr", ":8080", "http service address")
@@ -7,12 +7,12 @@ package main
"bufio"
"io"
"os"
"os/exec"
"time"
"github.com/gorilla/websocket"
@@ -6,12 +6,12 @@ package main
"io/ioutil"
"strconv"