Skip to content
Permalink
Browse files

Use go modules

  • Loading branch information
abh committed Dec 29, 2019
1 parent a5d89ae commit b877f858c9efd212cd3be690fa61800612889173
Showing with 39 additions and 327 deletions.
  1. +0 −283 Gopkg.lock
  2. +0 −38 Gopkg.toml
  3. +5 −5 Makefile
  4. +1 −1 geodns.go
  5. +33 −0 go.mod

This file was deleted.

This file was deleted.

@@ -1,7 +1,7 @@

# where to rsync builds
DIST?=dist/publish
DISTSUB=2019/04
DISTSUB=2020/01

test: .PHONY
go test -v $(shell go list ./... | grep -v /vendor/)
@@ -13,7 +13,7 @@ docker-test: .PHONY
# test that we don't have missing dependencies
docker run --rm -v `pwd`:/go/src/github.com/abh/geodns \
-v /opt/local/share/GeoIP:/opt/local/share/GeoIP \
golang:1.10.1-alpine3.7 \
golang:1.13.5-alpine3.10 \
go test ./...

devel:
@@ -24,9 +24,9 @@ bench:

TARS=$(wildcard dist/geodns-*-*.tar)

push: $(TARS) tmp-install.sh
rsync --exclude publish tmp-install.sh $(TARS) $(DIST)/$(DISTSUB)/
$(DIST)/push
push: $(TARS) install.sh
rsync --exclude publish install.sh $(TARS) $(DIST)/$(DISTSUB)/
$(DIST)/../push

builds: linux-build linux-build-i386 freebsd-build push

@@ -41,7 +41,7 @@ import (
)

// VERSION is the current version of GeoDNS
var VERSION string = "3.0.2"
var VERSION string = "3.1.0-dev"
var buildTime string
var gitVersion string

33 go.mod
@@ -0,0 +1,33 @@
module github.com/abh/geodns

go 1.13

require (
github.com/abh/errorutil v0.0.0-20130729183701-f9bd360d00b9
github.com/beorn7/perks v1.0.1
github.com/davecgh/go-spew v1.1.1
github.com/fsnotify/fsnotify v1.4.7
github.com/golang/geo v0.0.0-20190916061304-5b978397cfec
github.com/golang/protobuf v1.3.2
github.com/google/uuid v1.1.1
github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/miekg/dns v1.1.26
github.com/nxadm/tail v1.4.4
github.com/oschwald/geoip2-golang v1.4.0
github.com/oschwald/maxminddb-golang v1.6.0
github.com/pborman/uuid v0.0.0-20180906182336-adf5a7427709
github.com/pmezard/go-difflib v1.0.0
github.com/prometheus/client_golang v1.1.0
github.com/prometheus/client_model v0.1.0
github.com/prometheus/common v0.7.0
github.com/prometheus/procfs v0.0.8
github.com/stretchr/testify v1.4.1-0.20191223143401-858f37ff9bc4
golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876
golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553
golang.org/x/sys v0.0.0-20191224085550-c709ea063b76
gopkg.in/gcfg.v1 v1.2.3
gopkg.in/natefinch/lumberjack.v2 v2.0.1-0.20190411184413-94d9e492cc53
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
gopkg.in/warnings.v0 v0.1.2
gopkg.in/yaml.v2 v2.2.7
)

0 comments on commit b877f85

Please sign in to comment.
You can’t perform that action at this time.