Skip to content

Commit

Permalink
- Renamed module and updated dependencies (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsporn authored May 30, 2022
1 parent 6cf361a commit 58f9a3b
Show file tree
Hide file tree
Showing 10 changed files with 66 additions and 60 deletions.
8 changes: 4 additions & 4 deletions core/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ import (
"github.com/iotaledger/hive.go/app/core/shutdown"
"github.com/iotaledger/hive.go/app/plugins/profiling"

"github.com/gohornet/inx-app/inx"
"github.com/gohornet/inx-indexer/core/indexer"
"github.com/gohornet/inx-indexer/plugins/prometheus"
"github.com/iotaledger/inx-app/inx"
"github.com/iotaledger/inx-indexer/core/indexer"
"github.com/iotaledger/inx-indexer/plugins/prometheus"
)

var (
// Name of the app.
Name = "inx-indexer"

// Version of the app.
Version = "0.7.1"
Version = "0.8.0"
)

func App() *app.App {
Expand Down
8 changes: 4 additions & 4 deletions core/indexer/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import (
"github.com/labstack/echo/v4/middleware"
"go.uber.org/dig"

"github.com/gohornet/inx-app/nodebridge"
"github.com/gohornet/inx-indexer/pkg/daemon"
"github.com/gohornet/inx-indexer/pkg/indexer"
"github.com/gohornet/inx-indexer/pkg/server"
"github.com/iotaledger/hive.go/app"
"github.com/iotaledger/hive.go/app/core/shutdown"
"github.com/iotaledger/inx-app/nodebridge"
"github.com/iotaledger/inx-indexer/pkg/daemon"
"github.com/iotaledger/inx-indexer/pkg/indexer"
"github.com/iotaledger/inx-indexer/pkg/server"
inx "github.com/iotaledger/inx/go"
)

Expand Down
25 changes: 12 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module github.com/gohornet/inx-indexer
module github.com/iotaledger/inx-indexer

go 1.18

require (
github.com/gohornet/inx-app v0.0.0-20220523105415-e67f5a5b4f91
github.com/iotaledger/hive.go v0.0.0-20220524135608-2380525b3c21
github.com/iotaledger/hive.go/serializer/v2 v2.0.0-20220516114042-6c0ad76bc65f
github.com/iotaledger/inx/go v0.0.0-20220523062609-af9c5eba2f94
github.com/iotaledger/iota.go/v3 v3.0.0-20220519135423-82921868d5cd
github.com/iotaledger/hive.go v0.0.0-20220530162014-976ec1e82594
github.com/iotaledger/hive.go/serializer/v2 v2.0.0-20220530162014-976ec1e82594
github.com/iotaledger/inx-app v0.0.0-20220530162244-06ae0e8eb802
github.com/iotaledger/inx/go v0.0.0-20220530154855-f371ab0a309d
github.com/iotaledger/iota.go/v3 v3.0.0-20220530132039-ec319e60cc56
github.com/labstack/echo/v4 v4.7.2
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.12.2
Expand All @@ -17,16 +17,15 @@ require (
)

require (
filippo.io/edwards25519 v1.0.0-rc.1 // indirect
filippo.io/edwards25519 v1.0.0 // indirect
github.com/benbjohnson/clock v1.3.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/btcsuite/btcd v0.22.0-beta.0.20220111032746-97732e52810c // indirect
github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
github.com/eclipse/paho.mqtt.golang v1.3.5 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/ethereum/go-ethereum v1.10.17 // indirect
github.com/ethereum/go-ethereum v1.10.18 // indirect
github.com/fatih/structs v1.1.0 // indirect
github.com/fsnotify/fsnotify v1.5.4 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
Expand All @@ -53,7 +52,7 @@ require (
github.com/pasztorpisti/qs v0.0.0-20171216220353-8d6c33ee906c // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.1 // indirect
github.com/petermattis/goid v0.0.0-20220512133901-1f93b0c1af58 // indirect
github.com/petermattis/goid v0.0.0-20220526132513-07eaf5d0b9f4 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.34.0 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
Expand All @@ -67,13 +66,13 @@ require (
go.uber.org/goleak v1.1.12 // indirect
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.21.0 // indirect
golang.org/x/crypto v0.0.0-20220518034528-6f7dac969898 // indirect
golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2 // indirect
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
golang.org/x/net v0.0.0-20220526153639-5463443f8c37 // indirect
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20220411224347-583f2d630306 // indirect
golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df // indirect
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd // indirect
google.golang.org/genproto v0.0.0-20220527130721-00d5c0f3be58 // indirect
google.golang.org/grpc v1.46.2 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
Expand Down
73 changes: 40 additions & 33 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
@@ -1,7 +1,7 @@
package main

import (
"github.com/gohornet/inx-indexer/core/app"
"github.com/iotaledger/inx-indexer/core/app"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/indexer/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"gorm.io/gorm"
"gorm.io/gorm/clause"

"github.com/gohornet/inx-indexer/pkg/database"
"github.com/iotaledger/hive.go/serializer/v2"
"github.com/iotaledger/inx-indexer/pkg/database"
inx "github.com/iotaledger/inx/go"
iotago "github.com/iotaledger/iota.go/v3"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/labstack/echo/v4"
"github.com/pkg/errors"

"github.com/gohornet/inx-indexer/pkg/indexer"
"github.com/iotaledger/inx-indexer/pkg/indexer"
iotago "github.com/iotaledger/iota.go/v3"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package server
import (
"github.com/labstack/echo/v4"

"github.com/gohornet/inx-indexer/pkg/indexer"
"github.com/iotaledger/inx-indexer/pkg/indexer"
iotago "github.com/iotaledger/iota.go/v3"
)

Expand Down
2 changes: 1 addition & 1 deletion plugins/prometheus/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"github.com/prometheus/client_golang/prometheus/promhttp"
"go.uber.org/dig"

"github.com/gohornet/inx-indexer/pkg/daemon"
"github.com/iotaledger/hive.go/app"
"github.com/iotaledger/inx-indexer/pkg/daemon"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"

commit_hash=$(git rev-parse --short HEAD)
go build -ldflags="-s -w -X github.com/gohornet/inx-indexer/core/app.Version=$commit_hash"
go build -ldflags="-s -w -X github.com/iotaledger/inx-indexer/core/app.Version=$commit_hash"

0 comments on commit 58f9a3b

Please sign in to comment.