From 3dad3a3a4fff10a5c75aa635101fbf96ac7972b4 Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Fri, 1 Apr 2022 22:52:38 +0300 Subject: [PATCH] Move package categories to the root level --- {hyphae/categories => categories}/categories.go | 0 {hyphae/categories => categories}/files.go | 0 main.go | 2 +- views/categories.go | 2 +- web/categories.go | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename {hyphae/categories => categories}/categories.go (100%) rename {hyphae/categories => categories}/files.go (100%) diff --git a/hyphae/categories/categories.go b/categories/categories.go similarity index 100% rename from hyphae/categories/categories.go rename to categories/categories.go diff --git a/hyphae/categories/files.go b/categories/files.go similarity index 100% rename from hyphae/categories/files.go rename to categories/files.go diff --git a/main.go b/main.go index 40a1f9e..a7fb228 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,7 @@ package main import ( - "github.com/bouncepaw/mycorrhiza/hyphae/categories" + "github.com/bouncepaw/mycorrhiza/categories" "github.com/bouncepaw/mycorrhiza/migration" "github.com/bouncepaw/mycorrhiza/viewutil" "log" diff --git a/views/categories.go b/views/categories.go index 6cfccd6..5da998e 100644 --- a/views/categories.go +++ b/views/categories.go @@ -1,7 +1,7 @@ package views import ( - "github.com/bouncepaw/mycorrhiza/hyphae/categories" + "github.com/bouncepaw/mycorrhiza/categories" "github.com/bouncepaw/mycorrhiza/util" "github.com/bouncepaw/mycorrhiza/viewutil" "html/template" diff --git a/web/categories.go b/web/categories.go index aa38545..8723ca8 100644 --- a/web/categories.go +++ b/web/categories.go @@ -1,7 +1,7 @@ package web import ( - "github.com/bouncepaw/mycorrhiza/hyphae/categories" + "github.com/bouncepaw/mycorrhiza/categories" "github.com/bouncepaw/mycorrhiza/user" "github.com/bouncepaw/mycorrhiza/util" "github.com/bouncepaw/mycorrhiza/views"