Upstream sync

This commit is contained in:
Senad Uka
2023-09-18 12:27:40 +02:00
parent 9750aa2c37
commit 1f30f85787
30 changed files with 309 additions and 150 deletions

View File

@@ -4,7 +4,7 @@ import "github.com/jinzhu/gorm"
type Company struct {
gorm.Model
Name string
Name string
Password string
Email string
Avatar string
@@ -12,7 +12,6 @@ type Company struct {
Devices []Device
}
// func FetchCompanies(companies *[]Company) (err error) {
// db := gorm.GetDb()
@@ -22,12 +21,12 @@ type Company struct {
// return nil
// }
func (Company)Update() (bool, error) {
func (Company) Update() (bool, error) {
return false, nil
}
func (Company)Create() (bool, error) {
func (Company) Create() (bool, error) {
return false, nil
}
func (Company)Delete() (bool, error) {
func (Company) Delete() (bool, error) {
return false, nil
}