Skip to content

Commit

Permalink
Fix API directory structure
Browse files Browse the repository at this point in the history
Summary: Unnest the formatters from errdefs. This was likely an error in the original implementation.

Test Plan: N/A

Reviewers: michelle, vihang

Reviewed By: michelle

Signed-off-by: Zain Asgar <[email protected]>

Differential Revision: https://phab.corp.pixielabs.ai/D10803

GitOrigin-RevId: a0b2a010912ec1b037c094a0b4c2bf095f093286
  • Loading branch information
zasgar authored and copybaranaut committed Mar 1, 2022
1 parent 4d7ed31 commit 3a8a070
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/example_mux/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ go_library(
deps = [
"//src/api/go/pxapi",
"//src/api/go/pxapi/errdefs",
"//src/api/go/pxapi/errdefs/formatters",
"//src/api/go/pxapi/formatters",
"//src/api/go/pxapi/muxes",
"//src/api/go/pxapi/types",
],
Expand Down
2 changes: 1 addition & 1 deletion examples/example_mux/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (

"px.dev/pxapi"
"px.dev/pxapi/errdefs"
"px.dev/pxapi/errdefs/formatters"
"px.dev/pxapi/formatters"
"px.dev/pxapi/muxes"
"px.dev/pxapi/types"
)
Expand Down
2 changes: 1 addition & 1 deletion errdefs/formatters/BUILD.bazel → formatters/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ go_library(
"json.go",
"table.go",
],
importpath = "px.dev/pxapi/errdefs/formatters",
importpath = "px.dev/pxapi/formatters",
visibility = ["//src:__subpackages__"],
deps = [
"//src/api/go/pxapi/errdefs",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3a8a070

Please sign in to comment.