Added missing packages in models

This commit is contained in:
smavros 2019-03-31 13:56:33 +02:00
parent a50626fd2f
commit b17d66dbf8
5 changed files with 9 additions and 4 deletions

View file

@ -1,6 +1,7 @@
package file
import (
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/user"
"github.com/jinzhu/gorm"
"time"
)

View file

@ -1,9 +1,10 @@
package project
import (
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/simulation"
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/user"
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/visualization"
"github.com/jinzhu/gorm"
// XXX: We don't need also User and Simulation???
)
type Project struct {

View file

@ -1,9 +1,10 @@
package simulation
import (
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/visualization"
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/project"
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/simulationModel"
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/user"
"github.com/jinzhu/gorm"
// XXX: What about other models??
)
type Simulation struct {

View file

@ -1,8 +1,9 @@
package simulationModel
import (
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/simulation"
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/simulator"
"github.com/jinzhu/gorm"
// XXX: other models
)
type SimulationModel struct {

View file

@ -1,6 +1,7 @@
package visualization
import (
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/user"
"github.com/jinzhu/gorm"
)