[ci skip] fix format.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
449ce80649
commit
1a6e697416
|
@ -49,8 +49,6 @@ func main() {
|
||||||
gopush.PushConf.Core.Port = *port
|
gopush.PushConf.Core.Port = *port
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if err = gopush.InitLog(); err != nil {
|
if err = gopush.InitLog(); err != nil {
|
||||||
log.Println(err)
|
log.Println(err)
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package gopush
|
package gopush
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"errors"
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"os"
|
"os"
|
||||||
"errors"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func InitLog() error {
|
func InitLog() error {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package gopush
|
package gopush
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/stretchr/testify/assert"
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue