Skip to content

Commit 9bc973a

Browse files
shrumitgaryburd
authored andcommitted
Change text/template to html/template in the examples
Change text/template to html/template in examples
1 parent c36f2fe commit 9bc973a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/chat/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ package main
66

77
import (
88
"flag"
9+
"html/template"
910
"log"
1011
"net/http"
11-
"text/template"
1212
)
1313

1414
var addr = flag.String("addr", ":8080", "http service address")

examples/command/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ package main
77
import (
88
"bufio"
99
"flag"
10+
"html/template"
1011
"io"
1112
"log"
1213
"net/http"
1314
"os"
1415
"os/exec"
15-
"text/template"
1616
"time"
1717

1818
"github.com/gorilla/websocket"

examples/filewatch/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ package main
66

77
import (
88
"flag"
9+
"html/template"
910
"io/ioutil"
1011
"log"
1112
"net/http"
1213
"os"
1314
"strconv"
14-
"text/template"
1515
"time"
1616

1717
"github.com/gorilla/websocket"

0 commit comments

Comments
 (0)