Change Marca identifiers from string to uint

- Update Dockerfile.dev to use golang:1.27‑alpine and set go.mod go
  version to 1.27.
- Convert Marca fields in DTOs, builders, and controller to uint and use
  ObtenerPorID.
- Adjust RepositorioMarcas to use generic models.Marca and remove the
  obsolete ObtenerPorId method.
- Add SeAviso bool flag to the Factura model.
- Fix AltaRepuesto ID conversion from uint64 to uint.
- Add gorm.io/datatypes as a direct dependency in go.mod.
This commit is contained in:
fede committed 2026-10-22 19:43:08 -03:00
1 parent 2bbd8adbaf
commit a6823302d5
10 files changed
+16 -23

No files matched your search

+2 -2
View File
@@ -1,12 +1,13 @@
module repuestera_back
go 1.26
go 1.27
require (
github.com/gin-gonic/gin v1.10.0
github.com/golang-jwt/jwt/v5 v5.2.1
github.com/joho/godotenv v1.5.1
golang.org/x/crypto v0.31.0
gorm.io/datatypes v1.2.7
gorm.io/driver/mysql v1.5.7
gorm.io/gorm v1.30.0
)
@@ -46,5 +47,4 @@ require (
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gorm.io/datatypes v1.2.7 // indirect
)