MSP-5014 Refactor service and repository
This commit is contained in:
1 parent
599fa22429
commit
5dbd07dc03
12 files changed
+219
-212
No files matched your search
@@ -1,11 +1,11 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"ispctl/cfg"
|
||||
"ispctl/entity"
|
||||
"ispctl/service"
|
||||
)
|
||||
|
||||
func CreateUpdateConfig(stringToChange string, configuration *cfg.Config) error {
|
||||
func CreateUpdateConfig(stringToChange string, configuration *entity.Config) error {
|
||||
answer, err := service.Config.CreateUpdateConfig(stringToChange, configuration)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user