gin.DefaultWriter = io.Discard
This commit is contained in:
parent
e7ae12b939
commit
65d34e17f2
|
|
@ -2,6 +2,7 @@ package gin
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"io"
|
||||
"log"
|
||||
"net/http"
|
||||
"os"
|
||||
|
|
@ -37,6 +38,7 @@ func Service() {
|
|||
sslKey = os.Getenv("GIN_SSL_KEY")
|
||||
|
||||
go func() {
|
||||
gin.DefaultWriter = io.Discard
|
||||
router := gin.New()
|
||||
routerSetup(router)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue