mirror of
https://github.com/mariocandela/beelzebub.git
synced 2025-07-01 18:47:26 -04:00
Refactor import, edit go module with github.com
This commit is contained in:
@ -1,12 +1,12 @@
|
|||||||
package builder
|
package builder
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"beelzebub/parser"
|
|
||||||
"beelzebub/protocols"
|
|
||||||
"beelzebub/protocols/strategies"
|
|
||||||
"beelzebub/tracer"
|
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/mariocandela/beelzebub/parser"
|
||||||
|
"github.com/mariocandela/beelzebub/protocols"
|
||||||
|
"github.com/mariocandela/beelzebub/protocols/strategies"
|
||||||
|
"github.com/mariocandela/beelzebub/tracer"
|
||||||
"io"
|
"io"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package builder
|
package builder
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"beelzebub/parser"
|
|
||||||
"beelzebub/tracer"
|
|
||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
"github.com/mariocandela/beelzebub/parser"
|
||||||
|
"github.com/mariocandela/beelzebub/tracer"
|
||||||
|
|
||||||
amqp "github.com/rabbitmq/amqp091-go"
|
amqp "github.com/rabbitmq/amqp091-go"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module beelzebub
|
module github.com/mariocandela/beelzebub
|
||||||
|
|
||||||
go 1.20
|
go 1.20
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package integration
|
package integration
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"beelzebub/builder"
|
|
||||||
"beelzebub/parser"
|
|
||||||
"beelzebub/tracer"
|
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
"github.com/mariocandela/beelzebub/builder"
|
||||||
|
"github.com/mariocandela/beelzebub/parser"
|
||||||
|
"github.com/mariocandela/beelzebub/tracer"
|
||||||
"net"
|
"net"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
4
main.go
4
main.go
@ -1,9 +1,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"beelzebub/builder"
|
|
||||||
"beelzebub/parser"
|
|
||||||
"flag"
|
"flag"
|
||||||
|
"github.com/mariocandela/beelzebub/builder"
|
||||||
|
"github.com/mariocandela/beelzebub/parser"
|
||||||
|
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package protocols
|
package protocols
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"beelzebub/parser"
|
"github.com/mariocandela/beelzebub/parser"
|
||||||
"beelzebub/tracer"
|
"github.com/mariocandela/beelzebub/tracer"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ServiceStrategy interface {
|
type ServiceStrategy interface {
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package strategies
|
package strategies
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"beelzebub/parser"
|
|
||||||
"beelzebub/tracer"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/mariocandela/beelzebub/parser"
|
||||||
|
"github.com/mariocandela/beelzebub/tracer"
|
||||||
"io"
|
"io"
|
||||||
"net/http"
|
"net/http"
|
||||||
"regexp"
|
"regexp"
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package strategies
|
package strategies
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"beelzebub/parser"
|
|
||||||
"beelzebub/plugins"
|
|
||||||
"beelzebub/tracer"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/mariocandela/beelzebub/parser"
|
||||||
|
"github.com/mariocandela/beelzebub/plugins"
|
||||||
|
"github.com/mariocandela/beelzebub/tracer"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package strategies
|
package strategies
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"beelzebub/parser"
|
|
||||||
"beelzebub/tracer"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/mariocandela/beelzebub/parser"
|
||||||
|
"github.com/mariocandela/beelzebub/tracer"
|
||||||
"net"
|
"net"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user