Skip to content

Commit

Permalink
Switched to config module that isn't deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
markdicksonjr committed Jun 23, 2019
1 parent ced4e58 commit bb3075d
Show file tree
Hide file tree
Showing 4 changed files with 267 additions and 28 deletions.
2 changes: 1 addition & 1 deletion application.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"errors"
"github.com/gorilla/mux"
"github.com/micro/go-config"
"github.com/micro/go-micro/config"
"net/http"
"os"
"os/signal"
Expand Down
8 changes: 4 additions & 4 deletions configuration.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package nibbler

import (
"github.com/micro/go-config"
"github.com/micro/go-config/source"
"github.com/micro/go-config/source/env"
"github.com/micro/go-config/source/file"
"github.com/micro/go-micro/config"
"github.com/micro/go-micro/config/source"
"github.com/micro/go-micro/config/source/env"
"github.com/micro/go-micro/config/source/file"
"os"
)

Expand Down
25 changes: 10 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ require (
github.com/SparkPost/gosparkpost v0.0.0-20170825125937-4c6d2a3be658
github.com/aws/aws-sdk-go v1.15.47
github.com/bitly/go-hostpool v0.0.0-20171023180738-a3a6125de932 // indirect
github.com/bitly/go-simplejson v0.5.0 // indirect
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect
github.com/cenkalti/backoff v2.1.1+incompatible // indirect
github.com/denisenkom/go-mssqldb v0.0.0-20190423183735-731ef375ac02 // indirect
Expand All @@ -16,42 +15,38 @@ require (
github.com/go-ini/ini v1.38.3 // indirect
github.com/go-redis/redis v6.14.1+incompatible
github.com/go-sql-driver/mysql v1.4.1 // indirect
github.com/google/uuid v1.0.0
github.com/go-stack/stack v1.8.0 // indirect
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db // indirect
github.com/google/uuid v1.1.1
github.com/googollee/go-socket.io v1.4.1
github.com/gorilla/mux v1.6.2
github.com/gorilla/mux v1.7.2
github.com/gorilla/sessions v1.1.2
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/imdario/mergo v0.3.6 // indirect
github.com/jinzhu/gorm v1.9.1
github.com/jinzhu/inflection v0.0.0-20180308033659-04140366298a // indirect
github.com/jinzhu/now v1.0.0 // indirect
github.com/keighl/mandrill v0.0.0-20150710142848-5d7133fb578a
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/kr/fs v0.1.0 // indirect
github.com/lib/pq v1.0.0
github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329 // indirect
github.com/mattn/go-sqlite3 v1.9.0 // indirect
github.com/michaeljs1990/sqlitestore v0.0.0-20171009140204-37b8425f7b43
github.com/micro/go-config v0.8.0
github.com/micro/go-micro v1.7.0
github.com/olivere/elastic v6.2.8+incompatible
github.com/onsi/ginkgo v1.8.0 // indirect
github.com/onsi/gomega v1.5.0 // indirect
github.com/opentracing/opentracing-go v1.1.0 // indirect
github.com/pkg/errors v0.8.0
github.com/pkg/errors v0.8.1
github.com/pkg/sftp v1.8.3
github.com/sendgrid/rest v2.4.1+incompatible // indirect
github.com/sendgrid/sendgrid-go v3.4.1+incompatible
github.com/sirupsen/logrus v1.4.1 // indirect
github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a // indirect
github.com/tidwall/pretty v0.0.0-20190325153808-1166b9ac2b65 // indirect
github.com/wader/gormstore v0.0.0-20180218182743-e3293a80ecfe
github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c // indirect
github.com/xdg/stringprep v0.0.0-20180714160509-73f8eece6fdc // indirect
go.mongodb.org/mongo-driver v1.0.0
golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c
golang.org/x/net v0.0.0-20190311183353-d8887717615a
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421
google.golang.org/api v0.3.1
golang.org/x/crypto v0.0.0-20190618222545-ea8f1a30c443
golang.org/x/net v0.0.0-20190620200207-3b0461eec859
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
google.golang.org/api v0.6.0
gopkg.in/ini.v1 v1.42.0 // indirect
gopkg.in/rethinkdb/rethinkdb-go.v5 v5.0.1
)
Loading

0 comments on commit bb3075d

Please sign in to comment.