mirror of
https://github.com/snapp-incubator/pakhshi.git
synced 2025-09-26 20:21:13 +08:00
fix: correct lint issues
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/snapp-incubator/pakhshi/internal/cmd"
|
||||
"github.com/pterm/pterm"
|
||||
"github.com/snapp-incubator/pakhshi/internal/cmd"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@@ -1,9 +1,9 @@
|
||||
package publish
|
||||
|
||||
import (
|
||||
"github.com/snapp-incubator/pakhshi/pkg/client"
|
||||
mqtt "github.com/eclipse/paho.mqtt.golang"
|
||||
"github.com/pterm/pterm"
|
||||
"github.com/snapp-incubator/pakhshi/pkg/client"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@@ -3,9 +3,9 @@ package cmd
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/pterm/pterm"
|
||||
"github.com/snapp-incubator/pakhshi/internal/cmd/publish"
|
||||
"github.com/snapp-incubator/pakhshi/internal/cmd/subscribe"
|
||||
"github.com/pterm/pterm"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@@ -5,9 +5,9 @@ import (
|
||||
"os/signal"
|
||||
"syscall"
|
||||
|
||||
"github.com/snapp-incubator/pakhshi/pkg/client"
|
||||
mqtt "github.com/eclipse/paho.mqtt.golang"
|
||||
"github.com/pterm/pterm"
|
||||
"github.com/snapp-incubator/pakhshi/pkg/client"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@@ -3,8 +3,8 @@ package main_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/snapp-incubator/pakhshi/pkg/client"
|
||||
mqtt "github.com/eclipse/paho.mqtt.golang"
|
||||
"github.com/snapp-incubator/pakhshi/pkg/client"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user