2022-07-07 20:11:50 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "db",
|
|
|
|
srcs = [
|
|
|
|
"convert.go",
|
|
|
|
"db.go",
|
|
|
|
],
|
2022-10-30 01:59:25 +00:00
|
|
|
importpath = "peridot.resf.org/apollo/db",
|
2022-07-07 20:11:50 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2022-10-30 01:59:25 +00:00
|
|
|
"//apollo/proto/v1:pb",
|
2022-07-07 20:11:50 +00:00
|
|
|
"//utils",
|
2022-10-30 01:59:25 +00:00
|
|
|
"//vendor/github.com/jmoiron/sqlx/types",
|
2022-07-07 20:11:50 +00:00
|
|
|
"//vendor/github.com/lib/pq",
|
|
|
|
"@org_golang_google_protobuf//types/known/timestamppb:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//types/known/wrapperspb:go_default_library",
|
|
|
|
],
|
|
|
|
)
|