Skip to content

Commit

Permalink
periodic: make the pkg internal only
Browse files Browse the repository at this point in the history
  • Loading branch information
karampok committed Oct 21, 2019
1 parent 42024e4 commit d7e3a4a
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go/lib/periodic/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"//go/lib/log:go_default_library",
"//go/lib/periodic/metrics:go_default_library",
"//go/lib/periodic/internal/metrics:go_default_library",
"//go/lib/util:go_default_library",
],
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = ["metrics.go"],
importpath = "github.com/scionproto/scion/go/lib/periodic/metrics",
importpath = "github.com/scionproto/scion/go/lib/periodic/internal/metrics",
visibility = ["//visibility:public"],
deps = [
"//go/lib/prom:go_default_library",
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["metrics.go"],
importpath = "github.com/scionproto/scion/go/lib/periodic/metrics/mock_metrics",
importpath = "github.com/scionproto/scion/go/lib/periodic/internal/metrics/mock_metrics",
visibility = ["//visibility:public"],
deps = ["@com_github_golang_mock//gomock:go_default_library"],
)
2 changes: 1 addition & 1 deletion go/lib/periodic/periodic.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"time"

"github.com/scionproto/scion/go/lib/log"
"github.com/scionproto/scion/go/lib/periodic/metrics"
"github.com/scionproto/scion/go/lib/periodic/internal/metrics"
"github.com/scionproto/scion/go/lib/util"
)

Expand Down

0 comments on commit d7e3a4a

Please sign in to comment.