From 391fe6ffb2af7bc01d774866ef98496562374740 Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Fri, 29 Sep 2023 13:42:19 +0800 Subject: [PATCH] caddy: load gocloud drivers --- caddy/pmtiles_proxy.go | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/caddy/pmtiles_proxy.go b/caddy/pmtiles_proxy.go index 0f65b62..bfa2005 100644 --- a/caddy/pmtiles_proxy.go +++ b/caddy/pmtiles_proxy.go @@ -2,17 +2,20 @@ package caddy import ( "fmt" - "io" - "log" - "net/http" - "strconv" - "github.com/caddyserver/caddy/v2" "github.com/caddyserver/caddy/v2/caddyconfig/caddyfile" "github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile" "github.com/caddyserver/caddy/v2/modules/caddyhttp" "github.com/protomaps/go-pmtiles/pmtiles" "go.uber.org/zap" + _ "gocloud.dev/blob/azureblob" + _ "gocloud.dev/blob/fileblob" + _ "gocloud.dev/blob/gcsblob" + _ "gocloud.dev/blob/s3blob" + "io" + "log" + "net/http" + "strconv" "time" )