Skip to content

Commit 415e313

Browse files
authored
Update app.go
1 parent 6559629 commit 415e313

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ import (
55
"fmt"
66
"log"
77
"net/http"
8-
"os"
98
)
109

1110
func handler(w http.ResponseWriter, r *http.Request) {
1211
log.Print("Simple app running...")
13-
msg = "Simple app is running!"
12+
msg := "Simple app is running!"
1413
fmt.Fprintf(w, "<h1>%s</h1>", msg)
1514
}
1615

0 commit comments

Comments
 (0)