add godoc and report badges

This commit is contained in:
dre 2021-07-29 20:12:18 +08:00
parent 40b1d161ed
commit 9b163660df
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
[![Go Report Card](https://goreportcard.com/badge/github.com/n0x1m/gmifs)](https://goreportcard.com/report/github.com/n0x1m/gmifs)
[![GoDoc](https://godoc.org/github.com/n0x1m/gmifs?status.svg)](https://godoc.org/github.com/n0x1m/gmifs)
# gmifs
Gemini File Server, short gmifs, is intended to be minimal and serve static files. It is used

View file

@ -152,7 +152,7 @@ func setupLogger(dir, filename string) (*log.Logger, error) {
for {
<-hup
logger.Println("rotating log file after SIGHUP")
// logger.Println("rotating log file after SIGHUP")
_, err := setupFileLogging(logger, logpath)
if err != nil {
log.Fatalf("failed to rotate log file: %v", err)