perubahan terbaru

This commit is contained in:
2025-08-05 09:53:39 +07:00
parent 9c3c676bd5
commit cf0765b92f
6 changed files with 11 additions and 8 deletions
-3
View File
@@ -63,9 +63,6 @@ func New() Services {
log.Println("Successfully connected to the database SatuData")
}
mongoURI := fmt.Sprintf("mongodb://%s:%s@%s:%s/%s?authSource=admin",
user, pass, host, port, database)
dbInstance = &service{
simrsDB: SimrsDB,
satuDataDB: satuDataDB,
+1 -1
View File
@@ -15,7 +15,7 @@ import (
type Server struct {
port int
db database.Service
db database.Services
}
func NewServer() *http.Server {