Browse Source

apply coding style

Shelikhoo 4 years ago
parent
commit
91a2286064
2 changed files with 3 additions and 1 deletions
  1. 2 1
      infra/conf/cfgcommon/duration/duration_test.go
  2. 1 0
      infra/conf/observatory.go

+ 2 - 1
infra/conf/cfgcommon/duration/duration_test.go

@@ -2,9 +2,10 @@ package duration_test
 
 import (
 	"encoding/json"
-	"github.com/v2fly/v2ray-core/v4/infra/conf/cfgcommon/duration"
 	"testing"
 	"time"
+
+	"github.com/v2fly/v2ray-core/v4/infra/conf/cfgcommon/duration"
 )
 
 type testWithDuration struct {

+ 1 - 0
infra/conf/observatory.go

@@ -2,6 +2,7 @@ package conf
 
 import (
 	"github.com/golang/protobuf/proto"
+
 	"github.com/v2fly/v2ray-core/v4/infra/conf/cfgcommon/duration"
 
 	"github.com/v2fly/v2ray-core/v4/app/observatory"