Changed the data types to be able to hold a companys NIF

This commit is contained in:
2025-09-20 23:47:44 +01:00
parent b578976dad
commit 3821c3fffc
8 changed files with 24672 additions and 9 deletions
+4
View File
@@ -60,3 +60,7 @@ func (yr YamlRepo) Get(id int) (models.SW, error) {
return models.SW{}, errors.New("not found")
}
func (yr YamlRepo) Count() int {
return len(yr.Data)
}
+1
View File
@@ -5,4 +5,5 @@ import models "github.com/ESilva15/PTInvCertSWDB/sw/models"
type SWRepo interface {
Get(id int) (models.SW, error)
Count() int
}