Skip to content

Commit

Permalink
chore: rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Jan 31, 2024
1 parent abb993f commit 5333db6
Show file tree
Hide file tree
Showing 69 changed files with 161 additions and 162 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
github: usememos
2 changes: 1 addition & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ issues:
linters-settings:
goimports:
# Put imports beginning with prefix after 3rd-party packages.
local-prefixes: github.com/usememos/gomark
local-prefixes: github.com/yourselfhosted/gomark
revive:
# Default to run all linters so that new rules in the future could automatically be added to the static check.
enable-all-rules: true
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/usememos/gomark
module github.com/yourselfhosted/gomark

go 1.21

Expand Down
8 changes: 4 additions & 4 deletions gomark.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package gomark

import (
"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/usememos/gomark/restore"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser"
"github.com/yourselfhosted/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/restore"
)

// Parse parses the given markdown string and returns a list of nodes.
Expand Down
4 changes: 2 additions & 2 deletions parser/auto_link.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package parser
import (
"net/url"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type AutoLinkParser struct{}
Expand Down
6 changes: 3 additions & 3 deletions parser/auto_link_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/require"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/usememos/gomark/restore"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/restore"
)

func TestAutoLinkParser(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions parser/blockquote.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type BlockquoteParser struct{}
Expand Down
6 changes: 3 additions & 3 deletions parser/blockquote_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/require"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/usememos/gomark/restore"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/restore"
)

func TestBlockquoteParser(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions parser/bold.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type BoldParser struct{}
Expand Down
4 changes: 2 additions & 2 deletions parser/bold_italic.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type BoldItalicParser struct{}
Expand Down
6 changes: 3 additions & 3 deletions parser/bold_italic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/require"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/usememos/gomark/restore"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/restore"
)

func TestBoldItalicParser(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions parser/bold_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/require"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/usememos/gomark/restore"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/restore"
)

func TestBoldParser(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions parser/code.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type CodeParser struct{}
Expand Down
4 changes: 2 additions & 2 deletions parser/code_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package parser
import (
"slices"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type CodeBlockParser struct {
Expand Down
6 changes: 3 additions & 3 deletions parser/code_block_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/require"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/usememos/gomark/restore"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/restore"
)

func TestCodeBlockParser(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions parser/code_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/require"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/usememos/gomark/restore"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/restore"
)

func TestCodeParser(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions parser/embedded_content.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type EmbeddedContentParser struct{}
Expand Down
6 changes: 3 additions & 3 deletions parser/embedded_content_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/require"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/usememos/gomark/restore"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/restore"
)

func TestEmbeddedContentParser(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions parser/escaping_character.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type EscapingCharacterParser struct{}
Expand Down
6 changes: 3 additions & 3 deletions parser/escaping_character_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/require"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/usememos/gomark/restore"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/restore"
)

func TestEscapingCharacterParser(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions parser/heading.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type HeadingParser struct{}
Expand Down
6 changes: 3 additions & 3 deletions parser/heading_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/require"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/usememos/gomark/restore"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/restore"
)

func TestHeadingParser(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions parser/highlight.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type HighlightParser struct{}
Expand Down
6 changes: 3 additions & 3 deletions parser/highlight_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/require"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/usememos/gomark/restore"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/restore"
)

func TestHighlightParser(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions parser/horizontal_rule.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type HorizontalRuleParser struct{}
Expand Down
6 changes: 3 additions & 3 deletions parser/horizontal_rule_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/require"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/usememos/gomark/restore"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/restore"
)

func TestHorizontalRuleParser(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions parser/image.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type ImageParser struct{}
Expand Down
6 changes: 3 additions & 3 deletions parser/image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/require"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/usememos/gomark/restore"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/restore"
)

func TestImageParser(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions parser/italic.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type ItalicParser struct {
Expand Down
6 changes: 3 additions & 3 deletions parser/italic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/require"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/usememos/gomark/restore"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/restore"
)

func TestItalicParser(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions parser/line_break.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type LineBreakParser struct{}
Expand Down
4 changes: 2 additions & 2 deletions parser/link.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type LinkParser struct{}
Expand Down
6 changes: 3 additions & 3 deletions parser/link_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/require"

"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/usememos/gomark/restore"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/restore"
)

func TestLinkParser(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions parser/math.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/usememos/gomark/ast"
"github.com/usememos/gomark/parser/tokenizer"
"github.com/yourselfhosted/gomark/ast"
"github.com/yourselfhosted/gomark/parser/tokenizer"
)

type MathParser struct{}
Expand Down
Loading

0 comments on commit 5333db6

Please sign in to comment.