Skip to content

Commit

Permalink
Change text/template to html/template in the examples
Browse files Browse the repository at this point in the history
Change text/template to html/template in examples
  • Loading branch information
shrumit authored and garyburd committed Feb 13, 2017
1 parent c36f2fe commit 9bc973a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/chat/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ package main

import (
"flag"
"html/template"
"log"
"net/http"
"text/template"
)

var addr = flag.String("addr", ":8080", "http service address")
Expand Down
2 changes: 1 addition & 1 deletion examples/command/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion examples/filewatch/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ package main

import (
"flag"
"html/template"
"io/ioutil"
"log"
"net/http"
"os"
"strconv"
"text/template"
"time"

"github.com/gorilla/websocket"
Expand Down

0 comments on commit 9bc973a

Please sign in to comment.