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 ( import (
"flag" "flag"
"html/template"
"log" "log"
"net/http" "net/http"
"text/template"
) )
var addr = flag.String("addr", ":8080", "http service address") var addr = flag.String("addr", ":8080", "http service address")

View File

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

View File

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