memos
memos copied to clipboard
Removed comment logic from memo_service
Closes #4677
Moves memo comment logic to its own service, shortening memo_service and aligning better with SRP
@boojack Can I get some guidance on the failing check? I ran the commands to format.
@nathankrieger Please follow the import order sample in https://github.com/usememos/memos/blob/main/server/router/api/v1/memo_service.go#L22
The order should be as follows:
// built-in packages
"context"
"fmt"
// third-party packages
"github.com/lithammer/shortuuid/v4"
"github.com/pkg/errors"
// local packages
"github.com/usememos/memos/server/runner/memopayload"
"github.com/usememos/memos/store"
@nathankrieger There still has linter error, any updates?