Skip to content

Commit

Permalink
Fix go module name
Browse files Browse the repository at this point in the history
  • Loading branch information
mgerasimchuk committed Nov 29, 2023
1 parent 68b22be commit 248c28e
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions cmd/protty/main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"protty/internal/infrastructure/app"
"protty/internal/infrastructure/config"
"github.com/mgerasimchuk/protty/internal/infrastructure/app"
"github.com/mgerasimchuk/protty/internal/infrastructure/config"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module protty
module github.com/mgerasimchuk/protty

go 1.20

Expand Down
4 changes: 2 additions & 2 deletions internal/adapter/cli/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package cli
import (
"errors"
"fmt"
"github.com/mgerasimchuk/protty/internal/infrastructure/config"
"github.com/mgerasimchuk/protty/internal/infrastructure/service"
"github.com/spf13/cobra"
"net/http"
"protty/internal/infrastructure/config"
"protty/internal/infrastructure/service"
"strings"
"text/template"
)
Expand Down
6 changes: 3 additions & 3 deletions internal/infrastructure/app/protty.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package app

import (
"context"
"github.com/mgerasimchuk/protty/internal/adapter/cli"
"github.com/mgerasimchuk/protty/internal/infrastructure/config"
"github.com/mgerasimchuk/protty/internal/infrastructure/service"
"github.com/sirupsen/logrus"
"protty/internal/adapter/cli"
"protty/internal/infrastructure/config"
"protty/internal/infrastructure/service"
)

type ProttyApp struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/infrastructure/app/protty_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
"context"
"fmt"
"github.com/gavv/httpexpect/v2"
"github.com/mgerasimchuk/protty/internal/infrastructure/config"
"github.com/stretchr/testify/assert"
"io"
"net/http"
"os"
"protty/internal/infrastructure/config"
"testing"
"time"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/infrastructure/config/option.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package config

import (
"protty/pkg/util"
"github.com/mgerasimchuk/protty/pkg/util"
"strings"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/infrastructure/config/start_command_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"crypto/md5"
"fmt"
"github.com/facette/natsort"
"github.com/mgerasimchuk/protty/pkg/util"
"github.com/sirupsen/logrus"
"net/http"
"net/url"
"os"
"protty/pkg/util"
"reflect"
"regexp"
"strconv"
Expand Down
4 changes: 2 additions & 2 deletions internal/infrastructure/service/reverse_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import (
"context"
"fmt"
"github.com/graze/go-throttled"
"github.com/mgerasimchuk/protty/internal/infrastructure/config"
"github.com/mgerasimchuk/protty/pkg/util"
"github.com/sirupsen/logrus"
"golang.org/x/time/rate"
"io"
"math"
"net/http"
"net/http/httputil"
"net/url"
"protty/internal/infrastructure/config"
"protty/pkg/util"
"strconv"
"strings"
)
Expand Down

0 comments on commit 248c28e

Please sign in to comment.