summaryrefslogtreecommitdiff
path: root/srv/src/cmd/import-posts/main.go
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-17 12:41:17 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-17 13:28:56 -0600
commitf9d1f664f0a554b58e674f195572cc8a71d0bbfa (patch)
treea0511f27a8261b98812ff1be0f2dd39bbf7efb78 /srv/src/cmd/import-posts/main.go
parent4d2332582355c0b4c70d7817e569139d502d97a1 (diff)
Implement import-asset script
Diffstat (limited to 'srv/src/cmd/import-posts/main.go')
-rw-r--r--srv/src/cmd/import-posts/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/srv/src/cmd/import-posts/main.go b/srv/src/cmd/import-posts/main.go
index e4eb9e7..b2dc889 100644
--- a/srv/src/cmd/import-posts/main.go
+++ b/srv/src/cmd/import-posts/main.go
@@ -10,7 +10,6 @@ import (
"time"
"github.com/adrg/frontmatter"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/cfg"
cfgpkg "github.com/mediocregopher/blog.mediocregopher.com/srv/cfg"
"github.com/mediocregopher/blog.mediocregopher.com/srv/post"
"github.com/mediocregopher/mediocre-go-lib/v2/mctx"
@@ -107,7 +106,7 @@ func main() {
ctx := context.Background()
- cfg := cfg.NewBlogCfg(cfg.Params{})
+ cfg := cfgpkg.NewBlogCfg(cfgpkg.Params{})
var dataDir cfgpkg.DataDir
dataDir.SetupCfg(cfg)