2019-12-25 15:24:10 +08:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "io_bazel_rules_go",
|
|
|
|
urls = [
|
|
|
|
"https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/v0.20.3/rules_go-v0.20.3.tar.gz",
|
|
|
|
"https://github.com/bazelbuild/rules_go/releases/download/v0.20.3/rules_go-v0.20.3.tar.gz",
|
|
|
|
],
|
|
|
|
sha256 = "e88471aea3a3a4f19ec1310a55ba94772d087e9ce46e41ae38ecebe17935de7b",
|
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "bazel_gazelle",
|
|
|
|
urls = [
|
|
|
|
"https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/bazel-gazelle/releases/download/v0.19.1/bazel-gazelle-v0.19.1.tar.gz",
|
|
|
|
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.19.1/bazel-gazelle-v0.19.1.tar.gz",
|
|
|
|
],
|
|
|
|
sha256 = "86c6d481b3f7aedc1d60c1c211c6f76da282ae197c3b3160f54bd3a8f847896f",
|
|
|
|
)
|
|
|
|
|
|
|
|
load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains")
|
|
|
|
|
|
|
|
go_rules_dependencies()
|
|
|
|
|
|
|
|
go_register_toolchains()
|
|
|
|
|
|
|
|
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
|
|
|
|
|
|
|
|
gazelle_dependencies()
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_ipipdotnet_ipdb_go",
|
|
|
|
importpath = "github.com/ipipdotnet/ipdb-go",
|
|
|
|
sum = "h1:Afa0qx/SgRevzIK8Qg1TevuD5M28kFLWbzPvU+GQJ08=",
|
|
|
|
version = "v1.2.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "net_starlark_go",
|
|
|
|
importpath = "go.starlark.net",
|
|
|
|
sum = "h1:ZP11CRSzO9uOTTOVkH6yodtI3kSY69vUID8lx8B0M3s=",
|
|
|
|
version = "v0.0.0-20191113183327-aaf7be003892",
|
|
|
|
)
|
2020-02-01 15:06:00 +08:00
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_cockroachdb_apd",
|
|
|
|
importpath = "github.com/cockroachdb/apd",
|
|
|
|
sum = "h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I=",
|
|
|
|
version = "v1.1.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_coreos_go_systemd",
|
|
|
|
importpath = "github.com/coreos/go-systemd",
|
|
|
|
sum = "h1:JOrtw2xFKzlg+cbHpyrpLDmnN1HqhBfnX7WDiW7eG2c=",
|
|
|
|
version = "v0.0.0-20190719114852-fd7a80b32e1f",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_creack_pty",
|
|
|
|
importpath = "github.com/creack/pty",
|
|
|
|
sum = "h1:6pwm8kMQKCmgUg0ZHTm5+/YvRK0s3THD/28+T6/kk4A=",
|
|
|
|
version = "v1.1.7",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_davecgh_go_spew",
|
|
|
|
importpath = "github.com/davecgh/go-spew",
|
|
|
|
sum = "h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=",
|
|
|
|
version = "v1.1.1",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_go_stack_stack",
|
|
|
|
importpath = "github.com/go-stack/stack",
|
|
|
|
sum = "h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk=",
|
|
|
|
version = "v1.8.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_gofrs_uuid",
|
|
|
|
importpath = "github.com/gofrs/uuid",
|
|
|
|
sum = "h1:y12jRkkFxsd7GpqdSZ+/KCs/fJbqpEXSGd4+jfEaewE=",
|
|
|
|
version = "v3.2.0+incompatible",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_jackc_chunkreader",
|
|
|
|
importpath = "github.com/jackc/chunkreader",
|
|
|
|
sum = "h1:4s39bBR8ByfqH+DKm8rQA3E1LHZWB9XWcrz8fqaZbe0=",
|
|
|
|
version = "v1.0.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_jackc_chunkreader_v2",
|
|
|
|
importpath = "github.com/jackc/chunkreader/v2",
|
|
|
|
sum = "h1:DUwgMQuuPnS0rhMXenUtZpqZqrR/30NWY+qQvTpSvEs=",
|
|
|
|
version = "v2.0.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_jackc_pgconn",
|
|
|
|
importpath = "github.com/jackc/pgconn",
|
|
|
|
sum = "h1:6Q01OMLPPkmcCZVB9oRT6ACgo6nTEaNFQ97O79A8NuA=",
|
|
|
|
version = "v1.2.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_jackc_pgio",
|
|
|
|
importpath = "github.com/jackc/pgio",
|
|
|
|
sum = "h1:g12B9UwVnzGhueNavwioyEEpAmqMe1E/BN9ES+8ovkE=",
|
|
|
|
version = "v1.0.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_jackc_pgmock",
|
|
|
|
importpath = "github.com/jackc/pgmock",
|
|
|
|
sum = "h1:JVX6jT/XfzNqIjye4717ITLaNwV9mWbJx0dLCpcRzdA=",
|
|
|
|
version = "v0.0.0-20190831213851-13a1b77aafa2",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_jackc_pgpassfile",
|
|
|
|
importpath = "github.com/jackc/pgpassfile",
|
|
|
|
sum = "h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM=",
|
|
|
|
version = "v1.0.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_jackc_pgproto3",
|
|
|
|
importpath = "github.com/jackc/pgproto3",
|
|
|
|
sum = "h1:FYYE4yRw+AgI8wXIinMlNjBbp/UitDJwfj5LqqewP1A=",
|
|
|
|
version = "v1.1.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_jackc_pgproto3_v2",
|
|
|
|
importpath = "github.com/jackc/pgproto3/v2",
|
|
|
|
sum = "h1:FApgMJ/GtaXfI0s8Lvd0kaLaRwMOhs4VH92pwkwQQvU=",
|
|
|
|
version = "v2.0.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_jackc_pgtype",
|
|
|
|
importpath = "github.com/jackc/pgtype",
|
|
|
|
sum = "h1:aZwrtaSe314VgSGmKvggULa2TavoD1jWVsxj9Zdltek=",
|
|
|
|
version = "v1.1.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_jackc_pgx_v4",
|
|
|
|
importpath = "github.com/jackc/pgx/v4",
|
|
|
|
sum = "h1:vcUwfx7/L53CmX3UKANy34iHs69+11iVuwMO+jY68bY=",
|
|
|
|
version = "v4.2.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_jackc_puddle",
|
|
|
|
importpath = "github.com/jackc/puddle",
|
|
|
|
sum = "h1:rbjAshlgKscNa7j0jAM0uNQflis5o2XUogPMVAwtcsM=",
|
|
|
|
version = "v1.0.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_konsorten_go_windows_terminal_sequences",
|
|
|
|
importpath = "github.com/konsorten/go-windows-terminal-sequences",
|
|
|
|
sum = "h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s=",
|
|
|
|
version = "v1.0.2",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_kr_pretty",
|
|
|
|
importpath = "github.com/kr/pretty",
|
|
|
|
sum = "h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=",
|
|
|
|
version = "v0.1.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_kr_pty",
|
|
|
|
importpath = "github.com/kr/pty",
|
|
|
|
sum = "h1:AkaSdXYQOWeaO3neb8EM634ahkXXe3jYbVh/F9lq+GI=",
|
|
|
|
version = "v1.1.8",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_kr_text",
|
|
|
|
importpath = "github.com/kr/text",
|
|
|
|
sum = "h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=",
|
|
|
|
version = "v0.1.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_lib_pq",
|
|
|
|
importpath = "github.com/lib/pq",
|
|
|
|
sum = "h1:LXpIM/LZ5xGFhOpXAQUIMM1HdyqzVYM13zNdjCEEcA0=",
|
|
|
|
version = "v1.2.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_mattn_go_colorable",
|
|
|
|
importpath = "github.com/mattn/go-colorable",
|
|
|
|
sum = "h1:/bC9yWikZXAL9uJdulbSfyVNIR3n3trXl+v8+1sx8mU=",
|
|
|
|
version = "v0.1.2",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_mattn_go_isatty",
|
|
|
|
importpath = "github.com/mattn/go-isatty",
|
|
|
|
sum = "h1:d5US/mDsogSGW37IV293h//ZFaeajb69h+EHFsv2xGg=",
|
|
|
|
version = "v0.0.9",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_pkg_errors",
|
|
|
|
importpath = "github.com/pkg/errors",
|
|
|
|
sum = "h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=",
|
|
|
|
version = "v0.8.1",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_pmezard_go_difflib",
|
|
|
|
importpath = "github.com/pmezard/go-difflib",
|
|
|
|
sum = "h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=",
|
|
|
|
version = "v1.0.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_rs_xid",
|
|
|
|
importpath = "github.com/rs/xid",
|
|
|
|
sum = "h1:mhH9Nq+C1fY2l1XIpgxIiUOfNpRBYH1kKcr+qfKgjRc=",
|
|
|
|
version = "v1.2.1",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_rs_zerolog",
|
|
|
|
importpath = "github.com/rs/zerolog",
|
|
|
|
sum = "h1:uPRuwkWF4J6fGsJ2R0Gn2jB1EQiav9k3S6CSdygQJXY=",
|
|
|
|
version = "v1.15.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_satori_go_uuid",
|
|
|
|
importpath = "github.com/satori/go.uuid",
|
|
|
|
sum = "h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww=",
|
|
|
|
version = "v1.2.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_shopspring_decimal",
|
|
|
|
importpath = "github.com/shopspring/decimal",
|
|
|
|
sum = "h1:pntxY8Ary0t43dCZ5dqY4YTJCObLY1kIXl0uzMv+7DE=",
|
|
|
|
version = "v0.0.0-20180709203117-cd690d0c9e24",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_sirupsen_logrus",
|
|
|
|
importpath = "github.com/sirupsen/logrus",
|
|
|
|
sum = "h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4=",
|
|
|
|
version = "v1.4.2",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_stretchr_objx",
|
|
|
|
importpath = "github.com/stretchr/objx",
|
|
|
|
sum = "h1:Hbg2NidpLE8veEBkEZTL3CvlkUIVzuU9jDplZO54c48=",
|
|
|
|
version = "v0.2.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_stretchr_testify",
|
|
|
|
importpath = "github.com/stretchr/testify",
|
|
|
|
sum = "h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=",
|
|
|
|
version = "v1.4.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_zenazn_goji",
|
|
|
|
importpath = "github.com/zenazn/goji",
|
|
|
|
sum = "h1:RSQQAbXGArQ0dIDEq+PI6WqN6if+5KHu6x2Cx/GXLTQ=",
|
|
|
|
version = "v0.9.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "in_gopkg_check_v1",
|
|
|
|
importpath = "gopkg.in/check.v1",
|
|
|
|
sum = "h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=",
|
|
|
|
version = "v1.0.0-20180628173108-788fd7840127",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "in_gopkg_inconshreveable_log15_v2",
|
|
|
|
importpath = "gopkg.in/inconshreveable/log15.v2",
|
|
|
|
sum = "h1:RlWgLqCMMIYYEVcAR5MDsuHlVkaIPDAF+5Dehzg8L5A=",
|
|
|
|
version = "v2.0.0-20180818164646-67afb5ed74ec",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "in_gopkg_yaml_v2",
|
|
|
|
importpath = "gopkg.in/yaml.v2",
|
|
|
|
sum = "h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=",
|
|
|
|
version = "v2.2.2",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "org_golang_x_crypto",
|
|
|
|
importpath = "golang.org/x/crypto",
|
|
|
|
sum = "h1:nVJ3guKA9qdkEQ3TUdXI9QSINo2CUPM/cySEvw2w8I0=",
|
|
|
|
version = "v0.0.0-20200109152110-61a87790db17",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "org_golang_x_net",
|
|
|
|
importpath = "golang.org/x/net",
|
|
|
|
sum = "h1:fHDIZ2oxGnUZRN6WgWFCbYBjH9uqVPRCUVUDhs0wnbA=",
|
|
|
|
version = "v0.0.0-20190813141303-74dc4d7220e7",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "org_golang_x_sync",
|
|
|
|
importpath = "golang.org/x/sync",
|
|
|
|
sum = "h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU=",
|
|
|
|
version = "v0.0.0-20190423024810-112230192c58",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "org_golang_x_sys",
|
|
|
|
importpath = "golang.org/x/sys",
|
|
|
|
sum = "h1:ng0gs1AKnRRuEMZoTLLlbOd+C17zUDepwGQBb/n+JVg=",
|
|
|
|
version = "v0.0.0-20190826190057-c7b8b68b1456",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "org_golang_x_text",
|
|
|
|
importpath = "golang.org/x/text",
|
|
|
|
sum = "h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=",
|
|
|
|
version = "v0.3.2",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "org_golang_x_tools",
|
|
|
|
importpath = "golang.org/x/tools",
|
|
|
|
sum = "h1:ESK9Jb5JOE+y4u+ozMQeXfMHwEHm6zVbaDQkeaj6wI4=",
|
|
|
|
version = "v0.0.0-20190823170909-c4a336ef6a2f",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "org_golang_x_xerrors",
|
|
|
|
importpath = "golang.org/x/xerrors",
|
|
|
|
sum = "h1:9zdDQZ7Thm29KFXgAX/+yaf3eVbP7djjWp/dXAppNCc=",
|
|
|
|
version = "v0.0.0-20190717185122-a985d3407aa7",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "org_uber_go_atomic",
|
|
|
|
importpath = "go.uber.org/atomic",
|
|
|
|
sum = "h1:cxzIVoETapQEqDhQu3QfnvXAV4AlzcvUCxkVUFw3+EU=",
|
|
|
|
version = "v1.4.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "org_uber_go_multierr",
|
|
|
|
importpath = "go.uber.org/multierr",
|
|
|
|
sum = "h1:HoEmRHQPVSqub6w2z2d2EOVs2fjyFRGyofhKuyDq0QI=",
|
|
|
|
version = "v1.1.0",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "org_uber_go_zap",
|
|
|
|
importpath = "go.uber.org/zap",
|
|
|
|
sum = "h1:ORx85nbTijNz8ljznvCMR1ZBIPKFn3jQrag10X2AsuM=",
|
|
|
|
version = "v1.10.0",
|
|
|
|
)
|