Put project modules under pkg directory
This commit is contained in:
parent
f4684be37d
commit
e1516e450b
13 changed files with 7 additions and 7 deletions
|
|
@ -1,9 +1,9 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"cgnolink"
|
||||
"cgnolink/database"
|
||||
appserver "cgnolink/server"
|
||||
"cgnolink/pkg/cgnolink"
|
||||
"cgnolink/pkg/cgnolink/database"
|
||||
appserver "cgnolink/pkg/cgnolink/server"
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/rs/zerolog/log"
|
||||
"os"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package link
|
||||
|
||||
import (
|
||||
"cgnolink/database"
|
||||
"cgnolink/pkg/cgnolink/database"
|
||||
"context"
|
||||
"errors"
|
||||
"github.com/jackc/pgtype"
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package link
|
||||
|
||||
import (
|
||||
apperrors "cgnolink/errors"
|
||||
apperrors "cgnolink/pkg/cgnolink/errors"
|
||||
"github.com/patrickmn/go-cache"
|
||||
"golang.org/x/crypto/bcrypt"
|
||||
"net/url"
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package server
|
||||
|
||||
import (
|
||||
apperrors "cgnolink/errors"
|
||||
"cgnolink/link"
|
||||
apperrors "cgnolink/pkg/cgnolink/errors"
|
||||
"cgnolink/pkg/cgnolink/link"
|
||||
"github.com/jackc/pgx/v4/pgxpool"
|
||||
"github.com/knadh/koanf"
|
||||
"github.com/labstack/echo/v4"
|
||||
Loading…
Add table
Add a link
Reference in a new issue