We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f15ca60 commit 27e5b4cCopy full SHA for 27e5b4c
main.go
@@ -6,7 +6,6 @@ import (
6
"io/ioutil"
7
"net/http"
8
"os"
9
- "strings"
10
"sync"
11
"time"
12
@@ -54,14 +53,6 @@ func init() {
54
53
if err != nil {
55
panic(err)
56
}
57
-
58
- commit, err := ioutil.ReadFile(".git/refs/heads/master")
59
60
- if err != nil {
61
- panic(err)
62
- }
63
64
- getLogger.AddField("git", strings.TrimSpace(string(commit)))
65
66
67
func CORS(next http.Handler) http.Handler {
0 commit comments