Refactor import, edit go module with github.com

This commit is contained in:
Mario
2023-10-05 21:40:34 +02:00
parent dbcff8d002
commit 9b4b399df0
9 changed files with 24 additions and 24 deletions

View File

@ -1,12 +1,12 @@
package builder
import (
"beelzebub/parser"
"beelzebub/protocols"
"beelzebub/protocols/strategies"
"beelzebub/tracer"
"errors"
"fmt"
"github.com/mariocandela/beelzebub/parser"
"github.com/mariocandela/beelzebub/protocols"
"github.com/mariocandela/beelzebub/protocols/strategies"
"github.com/mariocandela/beelzebub/tracer"
"io"
"net/http"
"os"

View File

@ -1,10 +1,10 @@
package builder
import (
"beelzebub/parser"
"beelzebub/tracer"
"context"
"encoding/json"
"github.com/mariocandela/beelzebub/parser"
"github.com/mariocandela/beelzebub/tracer"
amqp "github.com/rabbitmq/amqp091-go"
log "github.com/sirupsen/logrus"

2
go.mod
View File

@ -1,4 +1,4 @@
module beelzebub
module github.com/mariocandela/beelzebub
go 1.20

View File

@ -1,10 +1,10 @@
package integration
import (
"beelzebub/builder"
"beelzebub/parser"
"beelzebub/tracer"
"encoding/json"
"github.com/mariocandela/beelzebub/builder"
"github.com/mariocandela/beelzebub/parser"
"github.com/mariocandela/beelzebub/tracer"
"net"
"net/http"
"os"

View File

@ -1,9 +1,9 @@
package main
import (
"beelzebub/builder"
"beelzebub/parser"
"flag"
"github.com/mariocandela/beelzebub/builder"
"github.com/mariocandela/beelzebub/parser"
log "github.com/sirupsen/logrus"
)

View File

@ -1,8 +1,8 @@
package protocols
import (
"beelzebub/parser"
"beelzebub/tracer"
"github.com/mariocandela/beelzebub/parser"
"github.com/mariocandela/beelzebub/tracer"
)
type ServiceStrategy interface {

View File

@ -1,9 +1,9 @@
package strategies
import (
"beelzebub/parser"
"beelzebub/tracer"
"fmt"
"github.com/mariocandela/beelzebub/parser"
"github.com/mariocandela/beelzebub/tracer"
"io"
"net/http"
"regexp"

View File

@ -1,10 +1,10 @@
package strategies
import (
"beelzebub/parser"
"beelzebub/plugins"
"beelzebub/tracer"
"fmt"
"github.com/mariocandela/beelzebub/parser"
"github.com/mariocandela/beelzebub/plugins"
"github.com/mariocandela/beelzebub/tracer"
"regexp"
"strings"
"time"

View File

@ -1,9 +1,9 @@
package strategies
import (
"beelzebub/parser"
"beelzebub/tracer"
"fmt"
"github.com/mariocandela/beelzebub/parser"
"github.com/mariocandela/beelzebub/tracer"
"net"
"time"