File tree Expand file tree Collapse file tree 21 files changed +28
-26
lines changed Expand file tree Collapse file tree 21 files changed +28
-26
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
11
11
"github.com/jukylin/esim/config"
12
12
"github.com/jukylin/esim/log"
13
13
"github.com/prometheus/client_golang/prometheus"
14
- "github.com/prometheus/client_model/go"
14
+ io_prometheus_client "github.com/prometheus/client_model/go"
15
15
"github.com/stretchr/testify/assert"
16
16
)
17
17
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ import (
10
10
11
11
"github.com/jukylin/esim/log"
12
12
"github.com/jukylin/esim/pkg"
13
- "github.com/jukylin/esim/pkg/file-dir"
13
+ file_dir "github.com/jukylin/esim/pkg/file-dir"
14
14
"github.com/jukylin/esim/pkg/templates"
15
- "github.com/jukylin/esim/tool/db2entity/domain-file"
15
+ domain_file "github.com/jukylin/esim/tool/db2entity/domain-file"
16
16
"github.com/spf13/viper"
17
17
"golang.org/x/tools/imports"
18
18
)
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
13
13
"github.com/ory/dockertest/v3"
14
14
dc "github.com/ory/dockertest/v3/docker"
15
15
"github.com/prometheus/client_golang/prometheus"
16
- "github.com/prometheus/client_model/go"
16
+ io_prometheus_client "github.com/prometheus/client_model/go"
17
17
"github.com/stretchr/testify/assert"
18
18
)
19
19
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
12
12
"github.com/ory/dockertest/v3"
13
13
dc "github.com/ory/dockertest/v3/docker"
14
14
"github.com/prometheus/client_golang/prometheus"
15
- "github.com/prometheus/client_model/go"
15
+ io_prometheus_client "github.com/prometheus/client_model/go"
16
16
"github.com/stretchr/testify/assert"
17
17
)
18
18
Original file line number Diff line number Diff line change 1
1
package cmd
2
2
3
3
import (
4
- "github.com/spf13/cobra"
5
4
"os"
6
5
6
+ "github.com/spf13/cobra"
7
+
7
8
"github.com/jukylin/esim/infra"
8
9
"github.com/jukylin/esim/pkg"
9
- "github.com/jukylin/esim/pkg/file-dir"
10
+ file_dir "github.com/jukylin/esim/pkg/file-dir"
10
11
"github.com/jukylin/esim/pkg/templates"
11
12
"github.com/jukylin/esim/tool/db2entity"
12
- "github.com/jukylin/esim/tool/db2entity/domain-file"
13
+ domain_file "github.com/jukylin/esim/tool/db2entity/domain-file"
13
14
)
14
15
15
16
var db2entityCmd = & cobra.Command {
Original file line number Diff line number Diff line change 1
1
package cmd
2
2
3
3
import (
4
- "github.com/jukylin/esim/pkg/file-dir"
4
+ file_dir "github.com/jukylin/esim/pkg/file-dir"
5
5
"github.com/jukylin/esim/pkg/templates"
6
6
"github.com/jukylin/esim/tool/factory"
7
7
"github.com/spf13/cobra"
Original file line number Diff line number Diff line change 1
1
package cmd
2
2
3
3
import (
4
- "github.com/jukylin/esim/pkg/file-dir"
4
+ file_dir "github.com/jukylin/esim/pkg/file-dir"
5
5
"github.com/jukylin/esim/pkg/templates"
6
6
"github.com/jukylin/esim/tool/ifacer"
7
7
"github.com/spf13/cobra"
Original file line number Diff line number Diff line change 1
1
package cmd
2
2
3
3
import (
4
- "github.com/jukylin/esim/pkg/file-dir"
4
+ file_dir "github.com/jukylin/esim/pkg/file-dir"
5
5
"github.com/jukylin/esim/pkg/templates"
6
6
"github.com/jukylin/esim/tool/new"
7
7
"github.com/spf13/cobra"
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ import (
5
5
6
6
"github.com/jukylin/esim/log"
7
7
"github.com/jukylin/esim/pkg"
8
- "github.com/jukylin/esim/pkg/file-dir"
8
+ file_dir "github.com/jukylin/esim/pkg/file-dir"
9
9
10
10
"errors"
11
11
"os"
12
12
"path/filepath"
13
13
14
14
"github.com/jukylin/esim/infra"
15
15
"github.com/jukylin/esim/pkg/templates"
16
- "github.com/jukylin/esim/tool/db2entity/domain-file"
16
+ domain_file "github.com/jukylin/esim/tool/db2entity/domain-file"
17
17
"github.com/serenize/snaker"
18
18
"github.com/spf13/viper"
19
19
"golang.org/x/tools/imports"
Original file line number Diff line number Diff line change 8
8
"github.com/jukylin/esim/infra"
9
9
"github.com/jukylin/esim/log"
10
10
"github.com/jukylin/esim/pkg"
11
- "github.com/jukylin/esim/pkg/file-dir"
11
+ file_dir "github.com/jukylin/esim/pkg/file-dir"
12
12
"github.com/jukylin/esim/pkg/templates"
13
- "github.com/jukylin/esim/tool/db2entity/domain-file"
13
+ domain_file "github.com/jukylin/esim/tool/db2entity/domain-file"
14
14
"github.com/spf13/viper"
15
15
"github.com/stretchr/testify/assert"
16
16
)
You can’t perform that action at this time.
0 commit comments