From 951c87b63f21f68bf9cf3e264aa5e5da7ebee0d1 Mon Sep 17 00:00:00 2001 From: mappu Date: Mon, 31 Dec 2018 19:02:50 +1300 Subject: [PATCH] convert to Go Modules --- Gopkg.lock | 57 ------------------------------------------------------ Gopkg.toml | 38 ------------------------------------ go.mod | 12 ++++++++++++ go.sum | 16 +++++++++++++++ 4 files changed, 28 insertions(+), 95 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 ef821dd..0000000 --- a/Gopkg.lock +++ /dev/null @@ -1,57 +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 = "code.ivysaur.me/thumbnail" - packages = ["."] - revision = "13e0990a33026cba5f746c13c85782e562e61fa6" - -[[projects]] - name = "github.com/boltdb/bolt" - packages = ["."] - revision = "2f1ce7a837dcb8da3ec595b1dac9d0632f0f99e8" - version = "v1.3.1" - -[[projects]] - branch = "master" - name = "github.com/hashicorp/golang-lru" - packages = [".","simplelru"] - revision = "0fb14efe8c47ae851c0034ed7a448854d3d34cf3" - -[[projects]] - branch = "master" - name = "github.com/mxk/go-flowrate" - packages = ["flowrate"] - revision = "cca7078d478f8520f85629ad7c68962d31ed7682" - -[[projects]] - name = "github.com/speps/go-hashids" - packages = ["."] - revision = "d1d57a886aa7e3ef6092b70ceab077e35ee8e0ce" - version = "v1.0.0" - -[[projects]] - branch = "master" - name = "golang.org/x/image" - packages = ["bmp","draw","math/f64","riff","vp8","vp8l","webp"] - revision = "af66defab954cb421ca110193eed9477c8541e2a" - -[[projects]] - branch = "master" - name = "golang.org/x/sys" - packages = ["unix"] - revision = "9527bec2660bd847c050fda93a0f0c6dee0800bb" - -[solve-meta] - analyzer-name = "dep" - analyzer-version = 1 - inputs-digest = "907370ab34b6a574b2845b17f9033acb75dfc5c8348266167f95f0112f38e89a" - solver-name = "gps-cdcl" - solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml deleted file mode 100644 index cbb11cf..0000000 --- a/Gopkg.toml +++ /dev/null @@ -1,38 +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]] - name = "code.ivysaur.me/thumbnail" - branch = "master" - -[[constraint]] - name = "github.com/boltdb/bolt" - version = "1.3.1" - -[[constraint]] - branch = "master" - name = "github.com/mxk/go-flowrate" - -[[constraint]] - name = "github.com/speps/go-hashids" - version = "1.0.0" diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..02fca8e --- /dev/null +++ b/go.mod @@ -0,0 +1,12 @@ +module code.ivysaur.me/contented + +require ( + code.ivysaur.me/imagequant v2.12.2-go1.2+incompatible + code.ivysaur.me/thumbnail v1.0.1 + github.com/boltdb/bolt v1.3.1 + github.com/hashicorp/golang-lru v0.5.0 + github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f + github.com/speps/go-hashids v1.0.0 + golang.org/x/image v0.0.0-20180601115456-af66defab954 + golang.org/x/sys v0.0.0-20180606202747-9527bec2660b +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..9ec2157 --- /dev/null +++ b/go.sum @@ -0,0 +1,16 @@ +code.ivysaur.me/imagequant v0.0.0-20180609052806-6a468707fb1b/go.mod h1:1Pi+M0oJFDYLtGuCkPGPpb4OGCYudvp/SG6jdVcO+WU= +code.ivysaur.me/imagequant v2.12.2-go1.2+incompatible/go.mod h1:1Pi+M0oJFDYLtGuCkPGPpb4OGCYudvp/SG6jdVcO+WU= +code.ivysaur.me/thumbnail v1.0.1 h1:vBvueRPu9Ed+PuULNdn0pbfmtt6SVNHJ+8ezZBl8pIg= +code.ivysaur.me/thumbnail v1.0.1/go.mod h1:oOapO2ddhCg0OBnAMFOW98mSKg6cRpWqCivVFcQnn5A= +github.com/boltdb/bolt v1.3.1 h1:JQmyP4ZBrce+ZQu0dY660FMfatumYDLun9hBCUVIkF4= +github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= +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= +github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus= +github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= +github.com/speps/go-hashids v1.0.0 h1:jdFC07PrExRM4Og5Ev4411Tox75aFpkC77NlmutadNI= +github.com/speps/go-hashids v1.0.0/go.mod h1:P7hqPzMdnZOfyIk+xrlG1QaSMw+gCBdHKsBDnhpaZvc= +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= +golang.org/x/sys v0.0.0-20180606202747-9527bec2660b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=