aboutsummaryrefslogtreecommitdiffstats
path: root/golang/restapi
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-09 19:07:25 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-09 19:07:25 -0700
commit12e2e04bcfb48e543d0fb2b8f45ae071363fe54e (patch)
treec5d802b3aa2bfebbfe7dd3b49216c4bb34867840 /golang/restapi
parent6fceb914a9479b7a6c19a0f54971b3bd580146df (diff)
downloadfatcat-12e2e04bcfb48e543d0fb2b8f45ae071363fe54e.tar.gz
fatcat-12e2e04bcfb48e543d0fb2b8f45ae071363fe54e.zip
logrus logging
Diffstat (limited to 'golang/restapi')
-rw-r--r--golang/restapi/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/golang/restapi/server.go b/golang/restapi/server.go
index 3335bc9e..a11c94c6 100644
--- a/golang/restapi/server.go
+++ b/golang/restapi/server.go
@@ -7,7 +7,6 @@ import (
"crypto/x509"
"errors"
"io/ioutil"
- "log"
"net"
"net/http"
"os"
@@ -16,6 +15,7 @@ import (
"sync/atomic"
"time"
+ log "github.com/sirupsen/logrus"
"github.com/go-openapi/runtime/flagext"
"github.com/go-openapi/swag"
flags "github.com/jessevdk/go-flags"