From 9dd9d5ebc4472da1f44f9d8293b202a5fb52ff4e Mon Sep 17 00:00:00 2001 From: Georg Makowski Date: Sat, 23 Mar 2024 17:13:38 +0100 Subject: [PATCH] chore: move the current extra folder to extra_old to make rook for a new approach with less code duplication. --- {extras => extras_old}/_test/insert.txt | 0 {extras => extras_old}/_test/subscript.txt | 0 {extras => extras_old}/_test/superscript.txt | 0 {extras => extras_old}/ast/insert.go | 0 {extras => extras_old}/ast/subscript.go | 0 {extras => extras_old}/ast/superscript.go | 0 {extras => extras_old}/go.mod | 0 {extras => extras_old}/go.sum | 0 {extras => extras_old}/helper.go | 2 +- {extras => extras_old}/insert.go | 2 +- {extras => extras_old}/insert_test.go | 2 +- {extras => extras_old}/subscript.go | 2 +- {extras => extras_old}/subscript_test.go | 2 +- {extras => extras_old}/superscript.go | 2 +- {extras => extras_old}/superscript_test.go | 2 +- 15 files changed, 7 insertions(+), 7 deletions(-) rename {extras => extras_old}/_test/insert.txt (100%) rename {extras => extras_old}/_test/subscript.txt (100%) rename {extras => extras_old}/_test/superscript.txt (100%) rename {extras => extras_old}/ast/insert.go (100%) rename {extras => extras_old}/ast/subscript.go (100%) rename {extras => extras_old}/ast/superscript.go (100%) rename {extras => extras_old}/go.mod (100%) rename {extras => extras_old}/go.sum (100%) rename {extras => extras_old}/helper.go (92%) rename {extras => extras_old}/insert.go (99%) rename {extras => extras_old}/insert_test.go (98%) rename {extras => extras_old}/subscript.go (99%) rename {extras => extras_old}/subscript_test.go (98%) rename {extras => extras_old}/superscript.go (99%) rename {extras => extras_old}/superscript_test.go (98%) diff --git a/extras/_test/insert.txt b/extras_old/_test/insert.txt similarity index 100% rename from extras/_test/insert.txt rename to extras_old/_test/insert.txt diff --git a/extras/_test/subscript.txt b/extras_old/_test/subscript.txt similarity index 100% rename from extras/_test/subscript.txt rename to extras_old/_test/subscript.txt diff --git a/extras/_test/superscript.txt b/extras_old/_test/superscript.txt similarity index 100% rename from extras/_test/superscript.txt rename to extras_old/_test/superscript.txt diff --git a/extras/ast/insert.go b/extras_old/ast/insert.go similarity index 100% rename from extras/ast/insert.go rename to extras_old/ast/insert.go diff --git a/extras/ast/subscript.go b/extras_old/ast/subscript.go similarity index 100% rename from extras/ast/subscript.go rename to extras_old/ast/subscript.go diff --git a/extras/ast/superscript.go b/extras_old/ast/superscript.go similarity index 100% rename from extras/ast/superscript.go rename to extras_old/ast/superscript.go diff --git a/extras/go.mod b/extras_old/go.mod similarity index 100% rename from extras/go.mod rename to extras_old/go.mod diff --git a/extras/go.sum b/extras_old/go.sum similarity index 100% rename from extras/go.sum rename to extras_old/go.sum diff --git a/extras/helper.go b/extras_old/helper.go similarity index 92% rename from extras/helper.go rename to extras_old/helper.go index 9c8b4e1..206cc8a 100644 --- a/extras/helper.go +++ b/extras_old/helper.go @@ -1,4 +1,4 @@ -package extras +package extras_old import "github.com/yuin/goldmark/util" diff --git a/extras/insert.go b/extras_old/insert.go similarity index 99% rename from extras/insert.go rename to extras_old/insert.go index 75a0133..76fae9d 100644 --- a/extras/insert.go +++ b/extras_old/insert.go @@ -1,4 +1,4 @@ -package extras +package extras_old import ( "github.com/gohugoio/hugo-goldmark-extensions/extras/ast" diff --git a/extras/insert_test.go b/extras_old/insert_test.go similarity index 98% rename from extras/insert_test.go rename to extras_old/insert_test.go index 7b6e36b..59e9e15 100644 --- a/extras/insert_test.go +++ b/extras_old/insert_test.go @@ -1,4 +1,4 @@ -package extras +package extras_old import ( "bytes" diff --git a/extras/subscript.go b/extras_old/subscript.go similarity index 99% rename from extras/subscript.go rename to extras_old/subscript.go index 8c43c15..c2b12a4 100644 --- a/extras/subscript.go +++ b/extras_old/subscript.go @@ -1,4 +1,4 @@ -package extras +package extras_old import ( "github.com/gohugoio/hugo-goldmark-extensions/extras/ast" diff --git a/extras/subscript_test.go b/extras_old/subscript_test.go similarity index 98% rename from extras/subscript_test.go rename to extras_old/subscript_test.go index 38c9c76..15cb647 100644 --- a/extras/subscript_test.go +++ b/extras_old/subscript_test.go @@ -1,4 +1,4 @@ -package extras +package extras_old import ( "bytes" diff --git a/extras/superscript.go b/extras_old/superscript.go similarity index 99% rename from extras/superscript.go rename to extras_old/superscript.go index 08d0a31..12ae65b 100644 --- a/extras/superscript.go +++ b/extras_old/superscript.go @@ -1,4 +1,4 @@ -package extras +package extras_old import ( "github.com/gohugoio/hugo-goldmark-extensions/extras/ast" diff --git a/extras/superscript_test.go b/extras_old/superscript_test.go similarity index 98% rename from extras/superscript_test.go rename to extras_old/superscript_test.go index 569adf0..a3acc6f 100644 --- a/extras/superscript_test.go +++ b/extras_old/superscript_test.go @@ -1,4 +1,4 @@ -package extras +package extras_old import ( "bytes"