benerin error
This commit is contained in:
+2
-3
@@ -5,9 +5,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"5803025024/w04/internal/config"
|
"5803025015/w04/internal/config"
|
||||||
"5803025024/w04/internal/database"
|
"5803025015/w04/internal/database"
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
module 5803025024/w04
|
module 5803025015/w04
|
||||||
|
|
||||||
go 1.26.6
|
go 1.26.6
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ package config
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/joho/godotenv"
|
"github.com/joho/godotenv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ ENVIROMENT=dev # Options: dev, stage, prod
|
|||||||
#
|
#
|
||||||
DB_HOST=202.46.28.160
|
DB_HOST=202.46.28.160
|
||||||
DB_PORT=2003
|
DB_PORT=2003
|
||||||
DB_USER=5803025024
|
DB_USER=5803025015
|
||||||
DB_PASSWORD=pw5803025024
|
DB_PASSWORD=pw5803025015
|
||||||
DB_NAME=w04_5803025024
|
DB_NAME=w04_5803025015
|
||||||
DB_SSLMODE=disable # 'disable' or 'require'
|
DB_SSLMODE=disable # 'disable' or 'require'
|
||||||
+1
-1
@@ -8,6 +8,6 @@ ENVIROMENT=dev # Options: dev, stage, prod
|
|||||||
DB_HOST=localhost
|
DB_HOST=localhost
|
||||||
DB_PORT=5432
|
DB_PORT=5432
|
||||||
DB_USER=postgres
|
DB_USER=postgres
|
||||||
DB_PASSWORD=5803025024
|
DB_PASSWORD=5803025015
|
||||||
DB_NAME=snippetboox
|
DB_NAME=snippetboox
|
||||||
DB_SSLMODE=disable # 'disable' or 'require'
|
DB_SSLMODE=disable # 'disable' or 'require'
|
||||||
Reference in New Issue
Block a user