diff options
| -rw-r--r-- | CHANGELOG | 2 | ||||
| -rw-r--r-- | asciidoctor.go | 2 | ||||
| -rw-r--r-- | asciidoctor_test.go | 2 | ||||
| -rw-r--r-- | attribute_class.go | 2 | ||||
| -rw-r--r-- | cell_format.go | 2 | ||||
| -rw-r--r-- | cell_format_test.go | 2 | ||||
| -rw-r--r-- | column_format.go | 4 | ||||
| -rw-r--r-- | column_format_test.go | 4 | ||||
| -rw-r--r-- | document_parser.go | 2 | ||||
| -rw-r--r-- | document_test.go | 2 | ||||
| -rw-r--r-- | element.go | 2 | ||||
| -rw-r--r-- | element_attribute.go | 2 | ||||
| -rw-r--r-- | element_attribute_test.go | 2 | ||||
| -rw-r--r-- | element_table.go | 4 | ||||
| -rw-r--r-- | element_table_test.go | 4 | ||||
| -rw-r--r-- | element_test.go | 4 | ||||
| -rw-r--r-- | go.mod | 4 | ||||
| -rw-r--r-- | go.sum | 4 | ||||
| -rw-r--r-- | html_backend.go | 4 | ||||
| -rw-r--r-- | inline_parser.go | 2 | ||||
| -rw-r--r-- | inline_parser_test.go | 2 | ||||
| -rw-r--r-- | macro.go | 2 | ||||
| -rw-r--r-- | parser.go | 2 | ||||
| -rw-r--r-- | parser_test.go | 2 | ||||
| -rw-r--r-- | revision_test.go | 2 | ||||
| -rw-r--r-- | section_counters_test.go | 2 | ||||
| -rw-r--r-- | table_parser.go | 2 | ||||
| -rw-r--r-- | table_parser_test.go | 2 | ||||
| -rw-r--r-- | testdata/document_tohtml_test.txt | 4 |
29 files changed, 38 insertions, 38 deletions
@@ -34,7 +34,7 @@ all: replace "lib/parser" with "strings/parser":: + The lib/parser has been deprecated in share module. -all: remove dependency to "github.com/shuLhan/share/lib/debug":: +all: remove dependency to "git.sr.ht/~shulhan/pakakeh.go/lib/debug":: all: replace linter golangci-lint with revive and shadow:: + diff --git a/asciidoctor.go b/asciidoctor.go index 5d792f0..f7c2f5e 100644 --- a/asciidoctor.go +++ b/asciidoctor.go @@ -7,7 +7,7 @@ // [AsciiDoc markup]: https://asciidoctor.org/docs/what-is-asciidoc package asciidoctor -import "github.com/shuLhan/share/lib/math/big" +import "git.sr.ht/~shulhan/pakakeh.go/lib/math/big" const ( // Version of this module. diff --git a/asciidoctor_test.go b/asciidoctor_test.go index 886e84c..8c393c7 100644 --- a/asciidoctor_test.go +++ b/asciidoctor_test.go @@ -7,7 +7,7 @@ import ( "bytes" "testing" - "github.com/shuLhan/share/lib/test" + "git.sr.ht/~shulhan/pakakeh.go/lib/test" ) const ( diff --git a/attribute_class.go b/attribute_class.go index 6e694a4..cebfe04 100644 --- a/attribute_class.go +++ b/attribute_class.go @@ -6,7 +6,7 @@ package asciidoctor import ( "strings" - libstrings "github.com/shuLhan/share/lib/strings" + libstrings "git.sr.ht/~shulhan/pakakeh.go/lib/strings" ) type attributeClass []string diff --git a/cell_format.go b/cell_format.go index 5184806..a37ec88 100644 --- a/cell_format.go +++ b/cell_format.go @@ -6,7 +6,7 @@ package asciidoctor import ( "strconv" - "github.com/shuLhan/share/lib/ascii" + "git.sr.ht/~shulhan/pakakeh.go/lib/ascii" ) type cellFormat struct { diff --git a/cell_format_test.go b/cell_format_test.go index 3c33cd6..e6da6fd 100644 --- a/cell_format_test.go +++ b/cell_format_test.go @@ -6,7 +6,7 @@ package asciidoctor import ( "testing" - "github.com/shuLhan/share/lib/test" + "git.sr.ht/~shulhan/pakakeh.go/lib/test" ) func TestParseCellFormat(t *testing.T) { diff --git a/column_format.go b/column_format.go index 52ac250..0ed643b 100644 --- a/column_format.go +++ b/column_format.go @@ -6,8 +6,8 @@ package asciidoctor import ( "strings" - "github.com/shuLhan/share/lib/ascii" - "github.com/shuLhan/share/lib/math/big" + "git.sr.ht/~shulhan/pakakeh.go/lib/ascii" + "git.sr.ht/~shulhan/pakakeh.go/lib/math/big" ) const ( diff --git a/column_format_test.go b/column_format_test.go index ebb1277..1d91d0d 100644 --- a/column_format_test.go +++ b/column_format_test.go @@ -6,8 +6,8 @@ package asciidoctor import ( "testing" - "github.com/shuLhan/share/lib/math/big" - "github.com/shuLhan/share/lib/test" + "git.sr.ht/~shulhan/pakakeh.go/lib/math/big" + "git.sr.ht/~shulhan/pakakeh.go/lib/test" ) func TestParseColumnFormat(t *testing.T) { diff --git a/document_parser.go b/document_parser.go index 5739ce1..5dc4a2e 100644 --- a/document_parser.go +++ b/document_parser.go @@ -8,7 +8,7 @@ import ( "fmt" "io" - "github.com/shuLhan/share/lib/ascii" + "git.sr.ht/~shulhan/pakakeh.go/lib/ascii" ) const debugLevel = 0 diff --git a/document_test.go b/document_test.go index a6f60e7..b15781c 100644 --- a/document_test.go +++ b/document_test.go @@ -7,7 +7,7 @@ import ( "os" "testing" - "github.com/shuLhan/share/lib/test" + "git.sr.ht/~shulhan/pakakeh.go/lib/test" ) func TestOpen(t *testing.T) { @@ -10,7 +10,7 @@ import ( "net/url" "strings" - "github.com/shuLhan/share/lib/ascii" + "git.sr.ht/~shulhan/pakakeh.go/lib/ascii" ) // element is the building block of asciidoc document. diff --git a/element_attribute.go b/element_attribute.go index 0d46b8b..b6cb575 100644 --- a/element_attribute.go +++ b/element_attribute.go @@ -7,7 +7,7 @@ import ( "bytes" "strings" - libstrings "github.com/shuLhan/share/lib/strings" + libstrings "git.sr.ht/~shulhan/pakakeh.go/lib/strings" ) type elementAttribute struct { diff --git a/element_attribute_test.go b/element_attribute_test.go index ef543aa..f3a146f 100644 --- a/element_attribute_test.go +++ b/element_attribute_test.go @@ -6,7 +6,7 @@ package asciidoctor import ( "testing" - "github.com/shuLhan/share/lib/test" + "git.sr.ht/~shulhan/pakakeh.go/lib/test" ) func Test_parseElementAttribute(t *testing.T) { diff --git a/element_table.go b/element_table.go index 53aaf03..3e9c07d 100644 --- a/element_table.go +++ b/element_table.go @@ -8,8 +8,8 @@ import ( "fmt" "strings" - "github.com/shuLhan/share/lib/math/big" - libstrings "github.com/shuLhan/share/lib/strings" + "git.sr.ht/~shulhan/pakakeh.go/lib/math/big" + libstrings "git.sr.ht/~shulhan/pakakeh.go/lib/strings" ) type elementTable struct { diff --git a/element_table_test.go b/element_table_test.go index c30e6f1..8b77a51 100644 --- a/element_table_test.go +++ b/element_table_test.go @@ -6,8 +6,8 @@ package asciidoctor import ( "testing" - "github.com/shuLhan/share/lib/math/big" - "github.com/shuLhan/share/lib/test" + "git.sr.ht/~shulhan/pakakeh.go/lib/math/big" + "git.sr.ht/~shulhan/pakakeh.go/lib/test" ) func TestParseAttrCols(t *testing.T) { diff --git a/element_test.go b/element_test.go index e252db7..dc3e712 100644 --- a/element_test.go +++ b/element_test.go @@ -6,8 +6,8 @@ package asciidoctor import ( "testing" - "github.com/shuLhan/share/lib/math/big" - "github.com/shuLhan/share/lib/test" + "git.sr.ht/~shulhan/pakakeh.go/lib/math/big" + "git.sr.ht/~shulhan/pakakeh.go/lib/test" ) func TestAdocNode_parseListDescriptionItem(t *testing.T) { @@ -5,6 +5,6 @@ module git.sr.ht/~shulhan/asciidoctor-go go 1.20 -require github.com/shuLhan/share v0.51.0 +require git.sr.ht/~shulhan/pakakeh.go v0.53.2-0.20240305092154-76510776395b -//replace github.com/shuLhan/share => ../share +//replace git.sr.ht/~shulhan/pakakeh.go => ../pakakeh.go @@ -1,2 +1,2 @@ -github.com/shuLhan/share v0.51.0 h1:WPKRNNWnZPaVTi/o6nUdkAePek2Lbjz5baoq8MU1U+I= -github.com/shuLhan/share v0.51.0/go.mod h1:Zn0zwUdSuu7L2BKaYkVOXwbwxd5Kn6Y2bhohD9Tf0Sc= +git.sr.ht/~shulhan/pakakeh.go v0.53.2-0.20240305092154-76510776395b h1:LtSlSrDg3Zw1ASfUi5enaHqefPWiWsPEDK+IlzSO72g= +git.sr.ht/~shulhan/pakakeh.go v0.53.2-0.20240305092154-76510776395b/go.mod h1:C43kVQ9Dai9Ol3bCHi8VKeOtYzp+E8617jNBaIsmd8o= diff --git a/html_backend.go b/html_backend.go index 94f0ed7..d2fafea 100644 --- a/html_backend.go +++ b/html_backend.go @@ -9,8 +9,8 @@ import ( "io" "strings" - libascii "github.com/shuLhan/share/lib/ascii" - libstrings "github.com/shuLhan/share/lib/strings" + libascii "git.sr.ht/~shulhan/pakakeh.go/lib/ascii" + libstrings "git.sr.ht/~shulhan/pakakeh.go/lib/strings" ) const ( diff --git a/inline_parser.go b/inline_parser.go index d5518e6..09aa5a1 100644 --- a/inline_parser.go +++ b/inline_parser.go @@ -6,7 +6,7 @@ package asciidoctor import ( "bytes" - "github.com/shuLhan/share/lib/ascii" + "git.sr.ht/~shulhan/pakakeh.go/lib/ascii" ) // inlineParser is the one that responsible to parse text that contains inline diff --git a/inline_parser_test.go b/inline_parser_test.go index 3670d7f..9bb2e3f 100644 --- a/inline_parser_test.go +++ b/inline_parser_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "github.com/shuLhan/share/lib/test" + "git.sr.ht/~shulhan/pakakeh.go/lib/test" ) func TestInlineParser(t *testing.T) { @@ -6,7 +6,7 @@ package asciidoctor import ( "strconv" - "github.com/shuLhan/share/lib/ascii" + "git.sr.ht/~shulhan/pakakeh.go/lib/ascii" ) // List of macro names. @@ -7,7 +7,7 @@ import ( "bytes" "strings" - "github.com/shuLhan/share/lib/ascii" + "git.sr.ht/~shulhan/pakakeh.go/lib/ascii" ) const ( diff --git a/parser_test.go b/parser_test.go index 5769a42..ffa055f 100644 --- a/parser_test.go +++ b/parser_test.go @@ -6,7 +6,7 @@ package asciidoctor import ( "testing" - "github.com/shuLhan/share/lib/test" + "git.sr.ht/~shulhan/pakakeh.go/lib/test" ) func TestGenerateID(t *testing.T) { diff --git a/revision_test.go b/revision_test.go index a5e5a23..03a6018 100644 --- a/revision_test.go +++ b/revision_test.go @@ -6,7 +6,7 @@ package asciidoctor import ( "testing" - "github.com/shuLhan/share/lib/test" + "git.sr.ht/~shulhan/pakakeh.go/lib/test" ) func TestParseRevision(t *testing.T) { diff --git a/section_counters_test.go b/section_counters_test.go index 7018522..a3a73f5 100644 --- a/section_counters_test.go +++ b/section_counters_test.go @@ -6,7 +6,7 @@ package asciidoctor import ( "testing" - "github.com/shuLhan/share/lib/test" + "git.sr.ht/~shulhan/pakakeh.go/lib/test" ) func TestSectionCounters(t *testing.T) { diff --git a/table_parser.go b/table_parser.go index c97ed04..4f9c7f8 100644 --- a/table_parser.go +++ b/table_parser.go @@ -7,7 +7,7 @@ import ( "bytes" "strings" - libstrings "github.com/shuLhan/share/lib/strings" + libstrings "git.sr.ht/~shulhan/pakakeh.go/lib/strings" ) type tableParser struct { diff --git a/table_parser_test.go b/table_parser_test.go index 0c37654..7e3bcef 100644 --- a/table_parser_test.go +++ b/table_parser_test.go @@ -6,7 +6,7 @@ package asciidoctor import ( "testing" - "github.com/shuLhan/share/lib/test" + "git.sr.ht/~shulhan/pakakeh.go/lib/test" ) func TestTableParser_new(t *testing.T) { diff --git a/testdata/document_tohtml_test.txt b/testdata/document_tohtml_test.txt index 7258a3e..e7734da 100644 --- a/testdata/document_tohtml_test.txt +++ b/testdata/document_tohtml_test.txt @@ -21,7 +21,7 @@ Document body. <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> -<meta name="generator" content="asciidoctor-go 0.5.0"> +<meta name="generator" content="asciidoctor-go 0.5.1"> <meta name="description" content="Multiline description with backslash"> <meta name="keywords" content="multiline, key, words"> <meta name="author" content="John Doe"> @@ -70,7 +70,7 @@ Section 2 content. <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> -<meta name="generator" content="asciidoctor-go 0.5.0"> +<meta name="generator" content="asciidoctor-go 0.5.1"> <meta name="author" content="John Doe"> <title>Title</title> </head> |
