Rename to match repo name
This commit is contained in:
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
||||
module git.hrafn.xyz/aether/notes
|
||||
module git.hrafn.xyz/aether/gotes
|
||||
|
||||
go 1.26.1
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"git.hrafn.xyz/aether/notes/internal/models"
|
||||
"git.hrafn.xyz/aether/gotes/internal/models"
|
||||
)
|
||||
|
||||
func TestContentCompletionNoteValidation(t *testing.T) {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"context"
|
||||
"time"
|
||||
|
||||
"git.hrafn.xyz/aether/notes/internal/models"
|
||||
"git.hrafn.xyz/aether/gotes/internal/models"
|
||||
)
|
||||
|
||||
// NoteRepository manages operations on notes using a data store.
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"git.hrafn.xyz/aether/notes/internal/models"
|
||||
"git.hrafn.xyz/aether/notes/internal/repository"
|
||||
"git.hrafn.xyz/aether/gotes/internal/models"
|
||||
"git.hrafn.xyz/aether/gotes/internal/repository"
|
||||
)
|
||||
|
||||
var fixedTestDate = time.Date(2000, 1, 1, 0, 0, 0, 0, time.UTC) //Date is set by synctest to this specific time
|
||||
|
||||
@@ -2,7 +2,8 @@ package repository
|
||||
|
||||
import (
|
||||
"context"
|
||||
"git.hrafn.xyz/aether/notes/internal/models"
|
||||
|
||||
"git.hrafn.xyz/aether/gotes/internal/models"
|
||||
)
|
||||
|
||||
// NoteStore defines the interface for persisting and retrieving notes.
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"git.hrafn.xyz/aether/notes/internal/models"
|
||||
"git.hrafn.xyz/aether/gotes/internal/models"
|
||||
)
|
||||
|
||||
type mockNoteStore struct {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
"modernc.org/sqlite"
|
||||
|
||||
"git.hrafn.xyz/aether/notes/internal/models"
|
||||
"git.hrafn.xyz/aether/gotes/internal/models"
|
||||
)
|
||||
|
||||
const sqlSet = `
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"git.hrafn.xyz/aether/notes/internal/models"
|
||||
"git.hrafn.xyz/aether/notes/internal/store/sqlite"
|
||||
"git.hrafn.xyz/aether/gotes/internal/models"
|
||||
"git.hrafn.xyz/aether/gotes/internal/store/sqlite"
|
||||
)
|
||||
|
||||
func TestCreateSQLiteStore(t *testing.T) {
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"git.hrafn.xyz/aether/notes/internal/repository"
|
||||
"git.hrafn.xyz/aether/notes/internal/store/sqlite"
|
||||
"git.hrafn.xyz/aether/notes/server"
|
||||
"git.hrafn.xyz/aether/gotes/internal/repository"
|
||||
"git.hrafn.xyz/aether/gotes/internal/store/sqlite"
|
||||
"git.hrafn.xyz/aether/gotes/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"git.hrafn.xyz/aether/notes/client"
|
||||
"git.hrafn.xyz/aether/gotes/client"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"git.hrafn.xyz/aether/notes/internal/repository"
|
||||
"git.hrafn.xyz/aether/gotes/internal/repository"
|
||||
)
|
||||
|
||||
type Server struct {
|
||||
|
||||
Reference in New Issue
Block a user