Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
brunopadz committed Dec 30, 2022
1 parent d7b84e1 commit 2a3b4de
Show file tree
Hide file tree
Showing 11 changed files with 549 additions and 88 deletions.
10 changes: 5 additions & 5 deletions cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import (
"fmt"
"os"

"github.com/brunopadz/mammoth/config"
"github.com/brunopadz/mammoth/config/file"
"github.com/brunopadz/mammoth/server"
"github.com/brunopadz/mammoth/util/log"
"github.com/spf13/cobra"
"github.com/twooster/pg-jump/config"
"github.com/twooster/pg-jump/config/file"
"github.com/twooster/pg-jump/server"
"github.com/twooster/pg-jump/util/log"
)

var configPath string
Expand All @@ -36,7 +36,7 @@ func init() {
}

var mainCmd = &cobra.Command{
Use: "pg-jump",
Use: "mammoth",
Short: "A simple Postgres jump server",
Run: runStart,
}
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"io/ioutil"
"regexp"

"github.com/twooster/pg-jump/config/file"
"github.com/brunopadz/mammoth/config/file"
)

type ClientTLSConfig struct {
Expand Down
2 changes: 1 addition & 1 deletion config/file/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package file
import (
"github.com/spf13/viper"

"github.com/twooster/pg-jump/util/log"
"github.com/brunopadz/mammoth/util/log"
)

func init() {
Expand Down
55 changes: 30 additions & 25 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,29 +1,34 @@
module github.com/twooster/pg-jump
module github.com/brunopadz/mammoth

go 1.14
go 1.19

require (
github.com/Sirupsen/logrus v1.0.1-0.20170608221441-85b1699d5056
github.com/fsnotify/fsnotify v1.4.3-0.20170329110642-4da3e2cfbabc
github.com/golang/protobuf v0.0.0-20170613202457-4f95b0d3eab8
github.com/hashicorp/hcl v0.0.0-20170509225359-392dba7d905e
github.com/inconshreveable/mousetrap v1.0.0
github.com/lib/pq v0.0.0-20170603225454-8837942c3e09
github.com/magiconair/properties v1.7.3-0.20170321093039-51463bfca257
github.com/mitchellh/mapstructure v0.0.0-20170523030023-d0303fe80992
github.com/pelletier/go-buffruneio v0.2.0
github.com/pelletier/go-toml v1.0.1-0.20170602065532-fe7536c3dee2
github.com/pkg/errors v0.8.1-0.20170505043639-c605e284fe17
github.com/spf13/afero v0.0.0-20170217164146-9be650865eab
github.com/spf13/cast v1.1.0
github.com/spf13/cobra v0.0.0-20170612063610-b4dbd37a0183
github.com/spf13/jwalterweatherman v0.0.0-20170523133247-0efa5202c046
github.com/spf13/pflag v1.0.0
github.com/spf13/viper v0.0.0-20170609230938-a1ecfa6a20bd
golang.org/x/net v0.0.0-20170613075437-dfe83d419c94
golang.org/x/sys v0.0.0-20170608164803-0b25a408a500
golang.org/x/text v0.0.0-20170613125402-3491b61b9edc
google.golang.org/genproto v0.0.0-20170531203552-aa2eb687b4d3
google.golang.org/grpc v1.4.0
gopkg.in/yaml.v2 v2.0.0-20170407172122-cd8b52f8269e
github.com/Sirupsen/logrus v1.0.6
github.com/spf13/cobra v1.6.1
github.com/spf13/viper v1.14.0
)

require (
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
github.com/sirupsen/logrus v1.9.0 // indirect
github.com/spf13/afero v1.9.3 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.4.1 // indirect
golang.org/x/crypto v0.4.0 // indirect
golang.org/x/sys v0.3.0 // indirect
golang.org/x/term v0.3.0 // indirect
golang.org/x/text v0.5.0 // indirect
gopkg.in/airbrake/gobrake.v2 v2.0.9 // indirect
gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
546 changes: 501 additions & 45 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
package main

import (
"github.com/twooster/pg-jump/cli"
"github.com/brunopadz/mammoth/cli"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion proxy/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/hex"
"io"

"github.com/twooster/pg-jump/protocol"
"github.com/brunopadz/mammoth/protocol"
)

const typeField = "type"
Expand Down
4 changes: 2 additions & 2 deletions proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"net"

"github.com/Sirupsen/logrus"
"github.com/twooster/pg-jump/config"
"github.com/twooster/pg-jump/util/log"
"github.com/brunopadz/mammoth/config"
"github.com/brunopadz/mammoth/util/log"
)

type Proxy struct {
Expand Down
4 changes: 2 additions & 2 deletions proxy/proxyconnection.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"strings"

"github.com/Sirupsen/logrus"
"github.com/twooster/pg-jump/config"
"github.com/twooster/pg-jump/protocol"
"github.com/brunopadz/mammoth/config"
"github.com/brunopadz/mammoth/protocol"
)

type ProxyConnection struct {
Expand Down
6 changes: 3 additions & 3 deletions server/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package server
import (
"net"

"github.com/twooster/pg-jump/config"
"github.com/twooster/pg-jump/proxy"
"github.com/twooster/pg-jump/util/log"
"github.com/brunopadz/mammoth/config"
"github.com/brunopadz/mammoth/proxy"
"github.com/brunopadz/mammoth/util/log"
)

type ProxyServer struct {
Expand Down
4 changes: 2 additions & 2 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package server
import (
"net"

"github.com/twooster/pg-jump/config"
"github.com/twooster/pg-jump/util/log"
"github.com/brunopadz/mammoth/config"
"github.com/brunopadz/mammoth/util/log"
)

type Server struct {
Expand Down

0 comments on commit 2a3b4de

Please sign in to comment.