build: convert from dep to Go Modules

This commit is contained in:
mappu 2018-12-31 16:49:18 +13:00
parent e2272bfa0a
commit 136f840905
5 changed files with 32 additions and 61 deletions

27
Gopkg.lock generated
View File

@ -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

View File

@ -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"

7
go.mod Normal file
View File

@ -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
)

12
go.sum Normal file
View File

@ -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=

13
vendor/modules.txt vendored Normal file
View File

@ -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