-
Notifications
You must be signed in to change notification settings - Fork 2
Conversation
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #54 +/- ##
==========================================
- Coverage 96.25% 95.50% -0.76%
==========================================
Files 24 26 +2
Lines 668 690 +22
==========================================
+ Hits 643 659 +16
- Misses 19 24 +5
- Partials 6 7 +1 ☔ View full report in Codecov by Sentry. |
internal/text_diff.go
Outdated
|
||
import "github.com/sergi/go-diff/diffmatchpatch" | ||
|
||
func CompareText(txt1, txt2 string) string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nerdxio Could you add here the line compare flag as well?
server/server.go
Outdated
} | ||
func compareTextPage(app *fiber.App) { | ||
app.Get(TextsPath, func(c fiber.Ctx) error { | ||
return c.Render(Prefix+"text_diff", newMap(map[string]any{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
text
instead of text_diff
server/ui/text_diff.html
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
text
instead of text_diff.html
api/text_diff.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
text
No description provided.