Skip to content

Commit

Permalink
update: change from relative to absolute module
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijit-hota committed May 16, 2022
1 parent 274484d commit a9c045f
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions api/api.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package main

import (
"api/db"
"api/handlers"
"api/utils"
"github.com/abhijit-hota/rengoku-server/db"
"github.com/abhijit-hota/rengoku-server/handlers"
"github.com/abhijit-hota/rengoku-server/utils"
"net/http"

"github.com/gin-gonic/gin"
Expand Down
2 changes: 1 addition & 1 deletion api/common/get_metadata.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package common

import (
DB "api/db"
DB "github.com/abhijit-hota/rengoku-server/db"
"bytes"
"io"
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion api/db/bookmark.model.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package db

import (
"api/utils"
"github.com/abhijit-hota/rengoku-server/utils"
"net/url"
"strings"
)
Expand Down
2 changes: 1 addition & 1 deletion api/db/db.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package db

import (
"api/utils"
"github.com/abhijit-hota/rengoku-server/utils"
"database/sql"
"os"

Expand Down
2 changes: 1 addition & 1 deletion api/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module api
module github.com/abhijit-hota/rengoku-server

go 1.18

Expand Down
6 changes: 3 additions & 3 deletions api/handlers/bookmarks.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package handlers

import (
"api/common"
DB "api/db"
"api/utils"
"github.com/abhijit-hota/rengoku-server/common"
DB "github.com/abhijit-hota/rengoku-server/db"
"github.com/abhijit-hota/rengoku-server/utils"
"fmt"
"net/http"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion api/handlers/config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package handlers

import (
"api/utils"
"github.com/abhijit-hota/rengoku-server/utils"
"net/http"

"github.com/gin-gonic/gin"
Expand Down
4 changes: 2 additions & 2 deletions api/handlers/tags.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package handlers

import (
DB "api/db"
"api/utils"
DB "github.com/abhijit-hota/rengoku-server/db"
"github.com/abhijit-hota/rengoku-server/utils"
"fmt"
"net/http"
"strings"
Expand Down

0 comments on commit a9c045f

Please sign in to comment.