@@ -49,8 +49,6 @@ func main() {
|
||||
gopush.PushConf.Core.Port = *port
|
||||
}
|
||||
|
||||
|
||||
|
||||
if err = gopush.InitLog(); err != nil {
|
||||
log.Println(err)
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package gopush
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/Sirupsen/logrus"
|
||||
"os"
|
||||
"errors"
|
||||
)
|
||||
|
||||
func InitLog() error {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package gopush
|
||||
|
||||
import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/Sirupsen/logrus"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user