From b95b3e00091147f48c112d9028213ae1398fe8c9 Mon Sep 17 00:00:00 2001 From: Kevin Burns Date: Mon, 23 Sep 2019 10:32:23 -0700 Subject: [PATCH] Replace dep with mod (#7) --- Gopkg.lock | 31 ------------------------------- Gopkg.toml | 11 ----------- go.mod | 8 ++++++++ go.sum | 4 ++++ 4 files changed, 12 insertions(+), 42 deletions(-) delete mode 100644 Gopkg.lock delete mode 100644 Gopkg.toml create mode 100644 go.mod create mode 100644 go.sum diff --git a/Gopkg.lock b/Gopkg.lock deleted file mode 100644 index 9f4bc90..0000000 --- a/Gopkg.lock +++ /dev/null @@ -1,31 +0,0 @@ -# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. - - -[[projects]] - digest = "1:e4f5819333ac698d294fe04dbf640f84719658d5c7ce195b10060cc37292ce79" - name = "github.com/golang/snappy" - packages = ["."] - pruneopts = "UT" - revision = "2a8bb927dd31d8daada140a5d09578521ce5c36a" - version = "v0.0.1" - -[[projects]] - digest = "1:c77361e611524ec8f2ad37c408c3c916111a70b6acf806a1200855696bf8fa4d" - name = "github.com/hashicorp/golang-lru" - packages = [ - ".", - "simplelru", - ] - pruneopts = "UT" - revision = "7f827b33c0f158ec5dfbba01bb0b14a4541fd81d" - version = "v0.5.3" - -[solve-meta] - analyzer-name = "dep" - analyzer-version = 1 - input-imports = [ - "github.com/golang/snappy", - "github.com/hashicorp/golang-lru", - ] - solver-name = "gps-cdcl" - solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml deleted file mode 100644 index 53b43d8..0000000 --- a/Gopkg.toml +++ /dev/null @@ -1,11 +0,0 @@ -[[constraint]] - name = "github.com/golang/snappy" - version = "0.0.1" - -[[constraint]] - name = "github.com/hashicorp/golang-lru" - version = "0.5.3" - -[prune] - go-tests = true - unused-packages = true diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..a8cbb20 --- /dev/null +++ b/go.mod @@ -0,0 +1,8 @@ +module github.com/kevburnsjr/microcache + +go 1.13 + +require ( + github.com/golang/snappy v0.0.1 + github.com/hashicorp/golang-lru v0.5.3 +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..c7fc51a --- /dev/null +++ b/go.sum @@ -0,0 +1,4 @@ +github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4= +github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/hashicorp/golang-lru v0.5.3 h1:YPkqC67at8FYaadspW/6uE0COsBxS2656RLEr8Bppgk= +github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=