This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change updates the LRU cache implementation used in the trace package, replacing github.com/hashicorp/golang-lru with github.com/golang/groupcache, while preserving the manner in which trace abstractions make use of the data structure. The reason for this change is that github.com/hashicorp/golang-lru has a Mozilla license, which is different from that of github.com/census-instrumentation/opencensus-go. The difference (and the mere presence of the former) makes it more difficult for open-source projects (e.g., https://fuchsia.dev) to vendor the latter.
- Loading branch information
1 parent
556cb5b
commit 59d1ce3
Showing
4 changed files
with
45 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
module go.opencensus.io | ||
|
||
require ( | ||
github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6 | ||
github.com/golang/protobuf v1.3.1 | ||
github.com/google/go-cmp v0.3.0 | ||
github.com/hashicorp/golang-lru v0.5.1 | ||
golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09 | ||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859 | ||
golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd // indirect | ||
golang.org/x/text v0.3.2 // indirect | ||
google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb // indirect | ||
google.golang.org/grpc v1.20.1 | ||
) | ||
|
||
go 1.13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters