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
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"cgnolink"
|
"cgnolink/pkg/cgnolink"
|
||||||
"cgnolink/database"
|
"cgnolink/pkg/cgnolink/database"
|
||||||
appserver "cgnolink/server"
|
appserver "cgnolink/pkg/cgnolink/server"
|
||||||
"github.com/rs/zerolog"
|
"github.com/rs/zerolog"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"os"
|
"os"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
package link
|
package link
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"cgnolink/database"
|
"cgnolink/pkg/cgnolink/database"
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"github.com/jackc/pgtype"
|
"github.com/jackc/pgtype"
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
package link
|
package link
|
||||||
|
|
||||||
import (
|
import (
|
||||||
apperrors "cgnolink/errors"
|
apperrors "cgnolink/pkg/cgnolink/errors"
|
||||||
"github.com/patrickmn/go-cache"
|
"github.com/patrickmn/go-cache"
|
||||||
"golang.org/x/crypto/bcrypt"
|
"golang.org/x/crypto/bcrypt"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
package server
|
package server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
apperrors "cgnolink/errors"
|
apperrors "cgnolink/pkg/cgnolink/errors"
|
||||||
"cgnolink/link"
|
"cgnolink/pkg/cgnolink/link"
|
||||||
"github.com/jackc/pgx/v4/pgxpool"
|
"github.com/jackc/pgx/v4/pgxpool"
|
||||||
"github.com/knadh/koanf"
|
"github.com/knadh/koanf"
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue