diff --git a/cmd/gobgpd/main.go b/cmd/gobgpd/main.go index c4cfc83a3..dc88f6ecc 100644 --- a/cmd/gobgpd/main.go +++ b/cmd/gobgpd/main.go @@ -39,9 +39,9 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials" + "github.com/osrg/gobgp/v3/internal/pkg/metrics" "github.com/osrg/gobgp/v3/internal/pkg/version" "github.com/osrg/gobgp/v3/pkg/config" - "github.com/osrg/gobgp/v3/pkg/metrics" "github.com/osrg/gobgp/v3/pkg/server" ) diff --git a/pkg/metrics/metrics.go b/internal/pkg/metrics/metrics.go similarity index 100% rename from pkg/metrics/metrics.go rename to internal/pkg/metrics/metrics.go diff --git a/pkg/metrics/metrics_test.go b/internal/pkg/metrics/metrics_test.go similarity index 100% rename from pkg/metrics/metrics_test.go rename to internal/pkg/metrics/metrics_test.go