Change text/template to html/template in the examples

Change text/template to html/template in examples
This commit is contained in:
Shrumit Mehta 2017-02-13 13:21:13 -05:00 committed by Gary Burd
parent c36f2fe5c3
commit 9bc973af06
3 changed files with 3 additions and 3 deletions

View File

@ -6,9 +6,9 @@ package main
import (
"flag"
"html/template"
"log"
"net/http"
"text/template"
)
var addr = flag.String("addr", ":8080", "http service address")

View File

@ -7,12 +7,12 @@ package main
import (
"bufio"
"flag"
"html/template"
"io"
"log"
"net/http"
"os"
"os/exec"
"text/template"
"time"
"github.com/gorilla/websocket"

View File

@ -6,12 +6,12 @@ package main
import (
"flag"
"html/template"
"io/ioutil"
"log"
"net/http"
"os"
"strconv"
"text/template"
"time"
"github.com/gorilla/websocket"