Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: update gomark source
Stevenfa4521e0c560
diff --git a/README.md b/README.mdindex 157c2de9b..a8b2bb8b6 100644--- a/README.md+++ b/README.md@@ -54,4 +54,4 @@ Memos supports multiple languages. You can help us translate Memos into your lan## Other projects- [**Slash**](https://github.com/yourselfhosted/slash): An open source, self-hosted bookmarks and link sharing platform. Save and share your links very easily.-- [**Gomark**](https://github.com/yourselfhosted/gomark): A markdown parser written in Go for Memos. And its [WebAssembly version](https://github.com/yourselfhosted/gomark-wasm) is also available.+- [**Gomark**](https://github.com/usememos/gomark): A markdown parser written in Go for Memos. And its [WebAssembly version](https://github.com/usememos/gomark-wasm) is also available.diff --git a/go.mod b/go.modindex 56bfb1a6b..9743551f5 100644--- a/go.mod+++ b/go.mod@@ -25,7 +25,7 @@ require (github.com/spf13/cobra v1.8.0github.com/spf13/viper v1.19.0github.com/stretchr/testify v1.9.0- github.com/yourselfhosted/gomark v0.0.0-20240228170507-6a73bfad2eb6+ github.com/usememos/gomark v0.0.0-20240606150514-e3c6ebe8ead6golang.org/x/crypto v0.23.0golang.org/x/mod v0.17.0golang.org/x/net v0.25.0diff --git a/go.sum b/go.sumindex 8648125ad..5a90f7848 100644--- a/go.sum+++ b/go.sum@@ -441,13 +441,13 @@ github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMgithub.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY=github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=+github.com/usememos/gomark v0.0.0-20240606150514-e3c6ebe8ead6 h1:Z2R5D+WdF0KZfu5qQYVfXgIR/e8udxtngPD0ABDt4Dg=+github.com/usememos/gomark v0.0.0-20240606150514-e3c6ebe8ead6/go.mod h1:7CZRoYFQyyljzplOTeyODFR26O+wr0BbnpTWVLGfKJA=github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo=github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ=github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=-github.com/yourselfhosted/gomark v0.0.0-20240228170507-6a73bfad2eb6 h1:6h74aOL7vOgWX1TG2zwrUgSWm+isZhSKpmoOygO7Wlg=-github.com/yourselfhosted/gomark v0.0.0-20240228170507-6a73bfad2eb6/go.mod h1:dfl9FHGIw1oISjPc16u8n6/H/dngiVfdVRtS5+WJ4Js=github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=diff --git a/server/router/api/v1/markdown_service.go b/server/router/api/v1/markdown_service.goindex 14e9f8170..4b70806a3 100644--- a/server/router/api/v1/markdown_service.go+++ b/server/router/api/v1/markdown_service.go@@ -4,10 +4,10 @@ import ("context""github.com/pkg/errors"- "github.com/yourselfhosted/gomark/ast"- "github.com/yourselfhosted/gomark/parser"- "github.com/yourselfhosted/gomark/parser/tokenizer"- "github.com/yourselfhosted/gomark/restore"+ "github.com/usememos/gomark/ast"+ "github.com/usememos/gomark/parser"+ "github.com/usememos/gomark/parser/tokenizer"+ "github.com/usememos/gomark/restore""github.com/usememos/memos/plugin/httpgetter"v1pb "github.com/usememos/memos/proto/gen/api/v1"diff --git a/server/router/api/v1/memo_service.go b/server/router/api/v1/memo_service.goindex d2abb5abf..48451dd79 100644--- a/server/router/api/v1/memo_service.go+++ b/server/router/api/v1/memo_service.go@@ -12,10 +12,10 @@ import ("github.com/google/cel-go/cel""github.com/lithammer/shortuuid/v4""github.com/pkg/errors"- "github.com/yourselfhosted/gomark/ast"- "github.com/yourselfhosted/gomark/parser"- "github.com/yourselfhosted/gomark/parser/tokenizer"- "github.com/yourselfhosted/gomark/restore"+ "github.com/usememos/gomark/ast"+ "github.com/usememos/gomark/parser"+ "github.com/usememos/gomark/parser/tokenizer"+ "github.com/usememos/gomark/restore"expr "google.golang.org/genproto/googleapis/api/expr/v1alpha1""google.golang.org/grpc/codes""google.golang.org/grpc/status"diff --git a/server/router/rss/rss.go b/server/router/rss/rss.goindex 33b4f988f..1959e27a3 100644--- a/server/router/rss/rss.go+++ b/server/router/rss/rss.go@@ -10,9 +10,9 @@ import ("github.com/gorilla/feeds""github.com/labstack/echo/v4"- "github.com/yourselfhosted/gomark"- "github.com/yourselfhosted/gomark/ast"- "github.com/yourselfhosted/gomark/renderer"+ "github.com/usememos/gomark"+ "github.com/usememos/gomark/ast"+ "github.com/usememos/gomark/renderer"storepb "github.com/usememos/memos/proto/gen/store""github.com/usememos/memos/server/profile"