Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from Govendor to Gomodules #1

Merged
merged 3 commits into from
Aug 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .promu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ build:
path: ./cmd/sql_exporter
flags: -a -tags netgo
ldflags: |
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Branch={{.Branch}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
-X github.com/prometheus/common/version.Version={{.Version}}
-X github.com/prometheus/common/version.Revision={{.Revision}}
-X github.com/prometheus/common/version.Branch={{.Branch}}
-X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
-X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
tarball:
files:
- LICENSE
Expand Down
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
language: go

go: "1.12"
go:
-"1.13"
-"1.14"

script:
- make style
Expand Down
25 changes: 25 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module github.com/free/sql_exporter

go 1.14

require (
github.com/ClickHouse/clickhouse-go v1.4.1
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/denisenkom/go-mssqldb v0.0.0-20200620013148-b91950f658ec
github.com/go-sql-driver/mysql v1.5.0
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
github.com/golang/protobuf v1.4.2
github.com/lib/pq v1.8.0
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.7.1
github.com/prometheus/client_model v0.2.0
github.com/prometheus/common v0.11.1
github.com/prometheus/procfs v0.1.4-0.20200701203502-869cfc74c3b4 // indirect
github.com/stretchr/testify v1.6.2-0.20200803095430-a3bed97cf337 // indirect
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de // indirect
golang.org/x/sys v0.0.0-20200805065543-0cf7623e9dbd // indirect
google.golang.org/protobuf v1.25.1-0.20200728163639-5d63473da8fb // indirect
gopkg.in/yaml.v2 v2.3.0
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect
)
441 changes: 441 additions & 0 deletions go.sum

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions vendor/github.com/ClickHouse/clickhouse-go/CONTRIBUTING.md

This file was deleted.

21 changes: 0 additions & 21 deletions vendor/github.com/ClickHouse/clickhouse-go/LICENSE

This file was deleted.

8 changes: 0 additions & 8 deletions vendor/github.com/ClickHouse/clickhouse-go/Makefile

This file was deleted.

189 changes: 0 additions & 189 deletions vendor/github.com/ClickHouse/clickhouse-go/README.md

This file was deleted.

21 changes: 0 additions & 21 deletions vendor/github.com/ClickHouse/clickhouse-go/array.go

This file was deleted.

Loading