diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -15,7 +15,6 @@ import ( "net/url" "strings" "time" - "unsafe" ) var ( @@ -193,7 +192,3 @@ func makeSignedToken(request *http.Request) []byte { func proxyRequest(writer http.ResponseWriter, request *http.Request) { reverseProxy.ServeHTTP(writer, request) } - -func stringToBytes(s string) (bytes []byte) { - return unsafe.Slice(unsafe.StringData(s), len(s)) -} |