refactor(backend): layout canonique cmd/server + models/service/ocr/pkg + fix compilation héritée

This commit is contained in:
m
2026-09-10 07:10:31 +02:00
parent e7f304da0a
commit 837bfa8a12
15 changed files with 59 additions and 48 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
package entities
package models
import "fmt"
@@ -13,7 +13,7 @@ func NewClient(clientVersion int) (error, Client) {
isCompatible := ServerClientIsCompatibleWithClient(clientVersion)
if !isCompatible {
return fmt.Errorf("You client version %n is not compatible with the server verison %n", clientVersion, SERVER_VERSION), nil
return fmt.Errorf("You client version %d is not compatible with the server verison %d", clientVersion, SERVER_VERSION), nil
}
client := ClientVerisonOne{
+1 -1
View File
@@ -1,4 +1,4 @@
package entities
package models
import (
"fmt"
+1 -1
View File
@@ -1 +1 @@
package entities
package models
+1 -1
View File
@@ -1,4 +1,4 @@
package entities
package models
type User struct {
Username string