Skip to content

Commit

Permalink
Merge pull request #1 from swelf19/feat/module-rename
Browse files Browse the repository at this point in the history
module remaned
  • Loading branch information
swelf19 authored Jan 13, 2023
2 parents 64b0cf9 + 45315e7 commit d6d5d59
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module git.u4b.ru/swelf/pggo/v2
module github.com/swelf19/pggo/v2

go 1.12

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
git.u4b.ru/swelf/pggo/v2 v2.0.1 h1:j6rnrlHC5IbC3U3AhC1Uta1qpVtM1Hz9dHzcREXN4LU=
git.u4b.ru/swelf/pggo/v2 v2.0.1/go.mod h1:Re+5bJeZoFE3u3eAhbsUZ0O/Jvsil09T6MprMFqThz4=
github.com/swelf19/pggo/v2 v2.0.1 h1:j6rnrlHC5IbC3U3AhC1Uta1qpVtM1Hz9dHzcREXN4LU=
github.com/swelf19/pggo/v2 v2.0.1/go.mod h1:Re+5bJeZoFE3u3eAhbsUZ0O/Jvsil09T6MprMFqThz4=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import (
"text/template"
"time"

"git.u4b.ru/swelf/pggo/v2/migrate"
"github.com/jackc/pgx/v4"
"github.com/spf13/cobra"
"github.com/swelf19/pggo/v2/migrate"
ini "github.com/vaughan0/go-ini"
)

Expand Down Expand Up @@ -129,7 +129,7 @@ func (c *Config) Validate() error {
return nil
}

//migrate.DBConnection
// migrate.DBConnection
func (c *Config) Connect(ctx context.Context) (*pgx.Conn, error) {
if c.SSHConnConfig.Host != "" {
client, err := NewSSHClient(&c.SSHConnConfig)
Expand Down
2 changes: 1 addition & 1 deletion migrate/pggo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"os"
"testing"

"git.u4b.ru/swelf/pggo/v2/migrate"
"github.com/jackc/pgx/v4"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
"github.com/swelf19/pggo/v2/migrate"
)

// func TestMain(m *testing.M) {
Expand Down
2 changes: 1 addition & 1 deletion pggo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"strings"
"testing"

"git.u4b.ru/swelf/pggo/v2/migrate"
"github.com/jackc/pgx/v4"
"github.com/stretchr/testify/suite"
"github.com/swelf19/pggo/v2/migrate"
"github.com/vaughan0/go-ini"
)

Expand Down

0 comments on commit d6d5d59

Please sign in to comment.