Commit b0ce9a70 authored by Sietse Ringers's avatar Sietse Ringers

chore: switch from dep to Go modules

Closes #78 and #84.
parent c5aa3122
This diff is collapsed.
# 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"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true
[[constraint]]
branch = "master"
name = "github.com/getsentry/raven-go"
[[constraint]]
name = "github.com/go-errors/errors"
version = "1.0.0"
[[constraint]]
branch = "revocation"
name = "github.com/privacybydesign/gabi"
[[constraint]]
name = "github.com/pkg/errors"
version = "0.8.0"
[[constraint]]
name = "github.com/spf13/cobra"
version = "0.0.1"
[[constraint]]
name = "github.com/stretchr/testify"
version = "1.2.1"
[[constraint]]
name = "astuart.co/go-sse"
source = "github.com/sietseringers/go-sse"
[[constraint]]
name = "github.com/spf13/viper"
source = "github.com/sietseringers/viper"
branch = "add-file-key-replacer"
[[override]]
name = "github.com/spf13/pflag"
source = "github.com/sietseringers/pflag"
branch = "headers-in-flag-usage"
[[constraint]]
branch = "master"
name = "github.com/timshannon/bolthold"
[[constraint]]
version = "1.3.3"
name = "github.com/fxamacker/cbor"
[prune]
go-tests = true
unused-packages = true
module github.com/privacybydesign/irmago
go 1.13
require (
astuart.co/go-sse v0.0.0-20200223201439-6cc042ab6f6d
github.com/BurntSushi/toml v0.3.1 // indirect
github.com/alexandrevicenzi/go-sse v1.3.1-0.20200117161408-7b23d5ff7420
github.com/bwesterb/go-atum v1.0.0
github.com/bwesterb/go-exptable v1.0.0 // indirect
github.com/certifi/gocertifi v0.0.0-20180118203423-deb3ae2ef261 // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/fxamacker/cbor v1.5.0
github.com/getsentry/raven-go v0.0.0-20180121060056-563b81fc02b7
github.com/go-chi/chi v3.3.3+incompatible
github.com/go-chi/cors v1.0.0
github.com/go-errors/errors v1.0.0
github.com/go-sql-driver/mysql v1.5.0 // indirect
github.com/hashicorp/go-multierror v1.0.0
github.com/hashicorp/go-retryablehttp v0.6.2
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/jasonlvhit/gocron v0.0.0-20180312192515-54194c9749d4
github.com/jinzhu/gorm v1.9.12
github.com/lib/pq v1.3.0 // indirect
github.com/magiconair/properties v1.8.0 // indirect
github.com/mattn/go-colorable v0.0.9 // indirect
github.com/mattn/go-isatty v0.0.4 // indirect
github.com/mdp/qrterminal v1.0.1
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
github.com/minio/sha256-simd v0.1.1 // indirect
github.com/mitchellh/mapstructure v1.1.2
github.com/multiformats/go-multihash v0.0.11 // indirect
github.com/onsi/ginkgo v1.12.0 // indirect
github.com/onsi/gomega v1.9.0 // indirect
github.com/pelletier/go-toml v1.2.0 // indirect
github.com/pkg/errors v0.8.0
github.com/privacybydesign/gabi v0.0.0-20200304102013-9df3e395ec4d
github.com/sirupsen/logrus v1.2.0
github.com/spf13/afero v1.2.0 // indirect
github.com/spf13/cast v1.3.0
github.com/spf13/cobra v0.0.1
github.com/spf13/jwalterweatherman v1.0.0 // indirect
github.com/spf13/pflag v1.0.4-0.20190111213756-a45bfec10d59
github.com/spf13/viper v1.0.1-0.20200205174444-d996804203c7
github.com/stretchr/testify v1.2.2
github.com/timshannon/bolthold v0.0.0-20190812165541-a85bcc049a2e // indirect
github.com/x-cray/logrus-prefixed-formatter v0.5.2
github.com/x448/float16 v0.8.4 // indirect
go.etcd.io/bbolt v1.3.2
golang.org/x/crypto v0.0.0-20200204104054-c9f3fb736b72 // indirect
)
replace astuart.co/go-sse => github.com/sietseringers/go-sse v0.0.0-20200223201439-6cc042ab6f6d
replace github.com/spf13/pflag => github.com/sietseringers/pflag v1.0.4-0.20190111213756-a45bfec10d59
replace github.com/spf13/viper => github.com/sietseringers/viper v1.0.1-0.20200205174444-d996804203c7
This diff is collapsed.
......@@ -4,16 +4,5 @@
// contains attribute and credential verification logic.
package irma
import "github.com/timshannon/bolthold"
// Version of the IRMA command line and libraries
const Version = "0.5.0-rc.1"
// go-atum requires a version of bolthold newer than the latest release v1.1, but go-atum does not
// use dep, so by default dep fetches v1.1 which breaks the build. We make bolthold an explicit
// dependency here, so that we can require its version to be sufficiently new in a [[constraint]] in
// Gopkg.toml: an [[override]] would not propagate to the users of irmago. This is ok, as we will
// have bolthold as actual dependency soon anyway. go-atum uses go mod files which does properly
// lock its bolthold dependency, so:
// TODO: remove this line after we switch to go modules
var _ = bolthold.Key
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment