Updated module path
This commit is contained in:
parent
809b89d689
commit
0b31c9f888
@ -20,7 +20,7 @@ A markdown renderer that supports only a subset of the CommonMark spec in order
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
go get git.akyoto.dev/go/markdown
|
go get git.urbach.dev/go/markdown
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
@ -60,7 +60,7 @@ BenchmarkLarge-12 277065 4115 ns/op 2560 B/op
|
|||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Please see the [license documentation](https://akyoto.dev/license).
|
Please see the [license documentation](https://urbach.dev/license).
|
||||||
|
|
||||||
## Copyright
|
## Copyright
|
||||||
|
|
||||||
|
@ -3,8 +3,8 @@ package markdown_test
|
|||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"git.akyoto.dev/go/assert"
|
"git.urbach.dev/go/assert"
|
||||||
"git.akyoto.dev/go/markdown"
|
"git.urbach.dev/go/markdown"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestEmpty(t *testing.T) {
|
func TestEmpty(t *testing.T) {
|
||||||
|
@ -4,8 +4,8 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"git.akyoto.dev/go/assert"
|
"git.urbach.dev/go/assert"
|
||||||
"git.akyoto.dev/go/markdown"
|
"git.urbach.dev/go/markdown"
|
||||||
)
|
)
|
||||||
|
|
||||||
func BenchmarkSmall(b *testing.B) {
|
func BenchmarkSmall(b *testing.B) {
|
||||||
@ -13,7 +13,7 @@ func BenchmarkSmall(b *testing.B) {
|
|||||||
assert.Nil(b, err)
|
assert.Nil(b, err)
|
||||||
input := string(small)
|
input := string(small)
|
||||||
|
|
||||||
for range b.N {
|
for b.Loop() {
|
||||||
markdown.Render(input)
|
markdown.Render(input)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -23,7 +23,7 @@ func BenchmarkMedium(b *testing.B) {
|
|||||||
assert.Nil(b, err)
|
assert.Nil(b, err)
|
||||||
input := string(medium)
|
input := string(medium)
|
||||||
|
|
||||||
for range b.N {
|
for b.Loop() {
|
||||||
markdown.Render(input)
|
markdown.Render(input)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -33,7 +33,7 @@ func BenchmarkLarge(b *testing.B) {
|
|||||||
assert.Nil(b, err)
|
assert.Nil(b, err)
|
||||||
input := string(large)
|
input := string(large)
|
||||||
|
|
||||||
for range b.N {
|
for b.Loop() {
|
||||||
markdown.Render(input)
|
markdown.Render(input)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
6
go.mod
6
go.mod
@ -1,5 +1,5 @@
|
|||||||
module git.akyoto.dev/go/markdown
|
module git.urbach.dev/go/markdown
|
||||||
|
|
||||||
go 1.22.1
|
go 1.24
|
||||||
|
|
||||||
require git.akyoto.dev/go/assert v0.1.3
|
require git.urbach.dev/go/assert v0.0.0-20250225153414-fc1f84f19edf
|
||||||
|
4
go.sum
4
go.sum
@ -1,2 +1,2 @@
|
|||||||
git.akyoto.dev/go/assert v0.1.3 h1:QwCUbmG4aZYsNk/OuRBz1zWVKmGlDUHhOnnDBfn8Qw8=
|
git.urbach.dev/go/assert v0.0.0-20250225153414-fc1f84f19edf h1:BQWa5GKNUsA5CSUa/+UlFWYCEVe3IDDKRbVqBLK0mAE=
|
||||||
git.akyoto.dev/go/assert v0.1.3/go.mod h1:0GzMaM0eURuDwtGkJJkCsI7r2aUKr+5GmWNTFPgDocM=
|
git.urbach.dev/go/assert v0.0.0-20250225153414-fc1f84f19edf/go.mod h1:y9jGII9JFiF1HNIju0u87OyPCt82xKCtqnAFyEreCDo=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user