Move utils into shared folder
This commit is contained in:
parent
500bf48295
commit
c25f27e82e
22 changed files with 111 additions and 137 deletions
|
@ -8,8 +8,8 @@ import (
|
|||
"github.com/google/jsonapi"
|
||||
"github.com/rs/zerolog/hlog"
|
||||
|
||||
"git.mstar.dev/mstar/linstrom/shared"
|
||||
"git.mstar.dev/mstar/linstrom/storage"
|
||||
"git.mstar.dev/mstar/linstrom/util"
|
||||
)
|
||||
|
||||
// Notes
|
||||
|
@ -98,7 +98,7 @@ func linstromNewNote(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
rawTags := util.TagsFromText(newNote.RawContent)
|
||||
rawTags := shared.TagsFromText(newNote.RawContent)
|
||||
|
||||
note, err := store.CreateNoteLocal(
|
||||
actorId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue