add sqlite server

This commit is contained in:
Fran Jurmanović
2024-07-12 20:40:30 +02:00
parent 475a2bb4c4
commit edd1806de9
10 changed files with 124 additions and 34 deletions

View File

@@ -1,6 +1,7 @@
package service
import (
"acc-server-manager/local/repository"
"acc-server-manager/local/utl/configs"
"os/exec"
@@ -8,10 +9,13 @@ import (
)
type ApiService struct {
Repository *repository.ApiRepository
}
func NewApiService() *ApiService {
return &ApiService{}
func NewApiService(repository *repository.ApiRepository) *ApiService {
return &ApiService{
Repository: repository,
}
}
/*