From 20bc3040e2a5dd97a0ea8c8fe681911cfdfe9c39 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Mon, 27 Sep 2021 21:19:46 +0200 Subject: [PATCH] fix small build issues --- catalog.go | 2 +- main.go | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/catalog.go b/catalog.go index 876d1dd..94fb992 100644 --- a/catalog.go +++ b/catalog.go @@ -1,4 +1,4 @@ -package internal +package main import ( "bytes" diff --git a/main.go b/main.go index 3fb38c1..c8a16ed 100644 --- a/main.go +++ b/main.go @@ -10,8 +10,6 @@ import ( "net/http" "os" "path" - - "git.zero-knowledge.org/gibheer/zero-blog/internal" ) var ( @@ -42,7 +40,7 @@ func main() { log.Fatalf("could not access files dir: %s", err) } - catalog, err := internal.NewCatalog(contentDir, internal.CatalogOptions{ + catalog, err := NewCatalog(contentDir, CatalogOptions{ WithUnpublished: *withUnpublished, DefaultTemplate: *defaultTemplate, })