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 package file
import ( import (
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/user"
"github.com/jinzhu/gorm" "github.com/jinzhu/gorm"
"time" "time"
) )

View file

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

View file

@ -1,9 +1,10 @@
package simulation package simulation
import ( 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" "github.com/jinzhu/gorm"
// XXX: What about other models??
) )
type Simulation struct { type Simulation struct {

View file

@ -1,8 +1,9 @@
package simulationModel package simulationModel
import ( 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" "github.com/jinzhu/gorm"
// XXX: other models
) )
type SimulationModel struct { type SimulationModel struct {

View file

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