summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-12-02 00:00:45 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-12-02 00:00:45 +0100
commit9fef0ca2fb26bfc15a5b25fdc4a03768fd6207b8 (patch)
tree1f19ee29f8a83586532bb02f9573045214a380e5
parenteaca1ee1f79422a501394415fd4ae8f227a134af (diff)
Removed profiler code
-rw-r--r--src/main.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main.go b/src/main.go
index 8bca78c..b12bb09 100644
--- a/src/main.go
+++ b/src/main.go
@@ -8,10 +8,6 @@ import (
"strconv"
)
-import _ "net/http/pprof"
-import "net/http"
-import "log"
-
const (
ExitSetupSuccess = 0
ExitSetupFailed = 1
@@ -29,10 +25,6 @@ func printUsage() {
func main() {
- go func() {
- log.Println(http.ListenAndServe("localhost:6060", nil))
- }()
-
// parse arguments
var foreground bool