Skip to content

Commit

Permalink
chore: renaming the mod
Browse files Browse the repository at this point in the history
  • Loading branch information
littlebutt committed Jan 10, 2023
1 parent c4648a0 commit c0aedb8
Show file tree
Hide file tree
Showing 17 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module nasu
module github.com/littlebutt/nasu

go 1.19

Expand Down
12 changes: 6 additions & 6 deletions src/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package main
import (
"flag"
"github.com/gin-gonic/gin"
"github.com/littlebutt/nasu/src/context"
"github.com/littlebutt/nasu/src/db"
"github.com/littlebutt/nasu/src/log"
"github.com/littlebutt/nasu/src/middleware"
"github.com/littlebutt/nasu/src/service"
"github.com/littlebutt/nasu/src/utils"
_ "github.com/mattn/go-sqlite3"
"nasu/src/context"
"nasu/src/db"
"nasu/src/log"
"nasu/src/middleware"
"nasu/src/service"
"nasu/src/utils"
"os"
"path"
"path/filepath"
Expand Down
2 changes: 1 addition & 1 deletion src/db/nasu_file_store.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package db

import (
"nasu/src/log"
"github.com/littlebutt/nasu/src/log"
"strings"
"xorm.io/xorm"
)
Expand Down
2 changes: 1 addition & 1 deletion src/db/nasu_meta_store.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package db

import (
"nasu/src/log"
"github.com/littlebutt/nasu/src/log"
"xorm.io/xorm"
)

Expand Down
4 changes: 2 additions & 2 deletions src/handler/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package handler

import (
"github.com/gin-gonic/gin"
"nasu/src/db"
"nasu/src/service"
"github.com/littlebutt/nasu/src/db"
"github.com/littlebutt/nasu/src/service"
"net/http"
"strconv"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion src/handler/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package handler

import (
"github.com/gin-gonic/gin"
"nasu/src/service"
"github.com/littlebutt/nasu/src/service"
"net/http"
"strconv"
)
Expand Down
4 changes: 2 additions & 2 deletions src/handler/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package handler

import (
"github.com/gin-gonic/gin"
"nasu/src/context"
"nasu/src/service"
"github.com/littlebutt/nasu/src/context"
"github.com/littlebutt/nasu/src/service"
"net/http"
)

Expand Down
2 changes: 1 addition & 1 deletion src/middleware/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package middleware

import (
"github.com/gin-gonic/gin"
"nasu/src/context"
"github.com/littlebutt/nasu/src/context"
"net/http"
"strconv"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion src/middleware/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package middleware

import (
"github.com/gin-gonic/gin"
"nasu/src/context"
"github.com/littlebutt/nasu/src/context"
"net/http"
"os"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion src/middleware/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package middleware

import (
"github.com/gin-gonic/gin"
"nasu/src/log"
"github.com/littlebutt/nasu/src/log"
"time"
)

Expand Down
2 changes: 1 addition & 1 deletion src/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"github.com/gin-gonic/gin"
"nasu/src/handler"
"github.com/littlebutt/nasu/src/handler"
"net/http"
)

Expand Down
8 changes: 4 additions & 4 deletions src/service/file.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package service

import (
"github.com/littlebutt/nasu/src/context"
"github.com/littlebutt/nasu/src/db"
"github.com/littlebutt/nasu/src/log"
"github.com/littlebutt/nasu/src/utils"
"io"
"mime/multipart"
"nasu/src/context"
"nasu/src/db"
"nasu/src/log"
"nasu/src/utils"
"os"
"path/filepath"
"sort"
Expand Down
2 changes: 1 addition & 1 deletion src/service/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package service

import (
"github.com/golang/mock/gomock"
"nasu/src/db"
"github.com/littlebutt/nasu/src/db"
"testing"
"time"
)
Expand Down
4 changes: 2 additions & 2 deletions src/service/settings.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package service

import (
"nasu/src/context"
"nasu/src/db"
"github.com/littlebutt/nasu/src/context"
"github.com/littlebutt/nasu/src/db"
"strconv"
)

Expand Down
2 changes: 1 addition & 1 deletion src/service/settings_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package service

import (
"github.com/golang/mock/gomock"
"github.com/littlebutt/nasu/src/db"
"github.com/stretchr/testify/assert"
"nasu/src/db"
"testing"
)

Expand Down
4 changes: 2 additions & 2 deletions src/service/user.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package service

import (
"nasu/src/context"
"nasu/src/db"
"github.com/littlebutt/nasu/src/context"
"github.com/littlebutt/nasu/src/db"
"strconv"
"time"
)
Expand Down
2 changes: 1 addition & 1 deletion src/service/user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package service

import (
"github.com/golang/mock/gomock"
"github.com/littlebutt/nasu/src/db"
"github.com/stretchr/testify/assert"
"nasu/src/db"
"testing"
)

Expand Down

0 comments on commit c0aedb8

Please sign in to comment.