From 136f84090577851b0a1469d23e91f89dc96ffaa7 Mon Sep 17 00:00:00 2001 From: mappu Date: Mon, 31 Dec 2018 16:49:18 +1300 Subject: [PATCH] build: convert from dep to Go Modules --- Gopkg.lock | 27 --------------------------- Gopkg.toml | 34 ---------------------------------- go.mod | 7 +++++++ go.sum | 12 ++++++++++++ vendor/modules.txt | 13 +++++++++++++ 5 files changed, 32 insertions(+), 61 deletions(-) delete mode 100644 Gopkg.lock delete mode 100644 Gopkg.toml create mode 100644 go.mod create mode 100644 go.sum create mode 100644 vendor/modules.txt diff --git a/Gopkg.lock b/Gopkg.lock deleted file mode 100644 index 14d91b4..0000000 --- a/Gopkg.lock +++ /dev/null @@ -1,27 +0,0 @@ -# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. - - -[[projects]] - branch = "master" - name = "code.ivysaur.me/imagequant" - packages = ["."] - revision = "6a468707fb1bb44c4bb71113273cc73daf401976" - -[[projects]] - branch = "master" - name = "github.com/hashicorp/golang-lru" - packages = [".","simplelru"] - revision = "0fb14efe8c47ae851c0034ed7a448854d3d34cf3" - -[[projects]] - branch = "master" - name = "golang.org/x/image" - packages = ["bmp","draw","math/f64","riff","vp8","vp8l","webp"] - revision = "af66defab954cb421ca110193eed9477c8541e2a" - -[solve-meta] - analyzer-name = "dep" - analyzer-version = 1 - inputs-digest = "bbec1c5a83e20c224400fbd1c97a4c81d91429b7a6b22f05a579788b101a7e72" - solver-name = "gps-cdcl" - solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml deleted file mode 100644 index 2ada28b..0000000 --- a/Gopkg.toml +++ /dev/null @@ -1,34 +0,0 @@ - -# Gopkg.toml example -# -# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md -# for detailed Gopkg.toml documentation. -# -# required = ["github.com/user/thing/cmd/thing"] -# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] -# -# [[constraint]] -# name = "github.com/user/project" -# version = "1.0.0" -# -# [[constraint]] -# name = "github.com/user/project2" -# branch = "dev" -# source = "github.com/myfork/project2" -# -# [[override]] -# name = "github.com/x/y" -# version = "2.4.0" - - -[[constraint]] - branch = "master" - name = "code.ivysaur.me/imagequant" - -[[constraint]] - branch = "master" - name = "github.com/hashicorp/golang-lru" - -[[constraint]] - branch = "master" - name = "golang.org/x/image" diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..e5a7c66 --- /dev/null +++ b/go.mod @@ -0,0 +1,7 @@ +module code.ivysaur.me/thumbnail + +require ( + code.ivysaur.me/imagequant v2.12.2-go1.2+incompatible + github.com/hashicorp/golang-lru v0.5.0 + golang.org/x/image v0.0.0-20180601115456-af66defab954 +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..7e9e501 --- /dev/null +++ b/go.sum @@ -0,0 +1,12 @@ +code.ivysaur.me/imagequant v0.0.0-20180609052806-6a468707fb1b h1:bVCFA91vhlKDRLtb/32eu02fPtHKxK4TpCkX6oJxXV8= +code.ivysaur.me/imagequant v0.0.0-20180609052806-6a468707fb1b/go.mod h1:1Pi+M0oJFDYLtGuCkPGPpb4OGCYudvp/SG6jdVcO+WU= +code.ivysaur.me/imagequant v2.9.0-go1.1+incompatible h1:Sh8PH5ED6J6nMj2YbsSGmh1+Q/6CVTObITsXmHXsyC8= +code.ivysaur.me/imagequant v2.9.0-go1.1+incompatible/go.mod h1:1Pi+M0oJFDYLtGuCkPGPpb4OGCYudvp/SG6jdVcO+WU= +code.ivysaur.me/imagequant v2.12.2-go1.2+incompatible h1:lae+MZwMGir1Llekj8SUm/GS8Vu223v0rYbVQNv85Q4= +code.ivysaur.me/imagequant v2.12.2-go1.2+incompatible/go.mod h1:1Pi+M0oJFDYLtGuCkPGPpb4OGCYudvp/SG6jdVcO+WU= +github.com/hashicorp/golang-lru v0.0.0-20180201235237-0fb14efe8c47 h1:UnszMmmmm5vLwWzDjTFVIkfhvWF1NdrmChl8L2NUDCw= +github.com/hashicorp/golang-lru v0.0.0-20180201235237-0fb14efe8c47/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.0 h1:CL2msUPvZTLb5O648aiLNJw3hnBxN2+1Jq8rCOH9wdo= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +golang.org/x/image v0.0.0-20180601115456-af66defab954 h1:n7UB+yxe5jyWxOA3BTAfwi23lhfKEIddaB/so7YOYe0= +golang.org/x/image v0.0.0-20180601115456-af66defab954/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= diff --git a/vendor/modules.txt b/vendor/modules.txt new file mode 100644 index 0000000..39a3970 --- /dev/null +++ b/vendor/modules.txt @@ -0,0 +1,13 @@ +# code.ivysaur.me/imagequant v2.12.2-go1.2+incompatible +code.ivysaur.me/imagequant +# github.com/hashicorp/golang-lru v0.5.0 +github.com/hashicorp/golang-lru +github.com/hashicorp/golang-lru/simplelru +# golang.org/x/image v0.0.0-20180601115456-af66defab954 +golang.org/x/image/bmp +golang.org/x/image/draw +golang.org/x/image/webp +golang.org/x/image/math/f64 +golang.org/x/image/riff +golang.org/x/image/vp8 +golang.org/x/image/vp8l