mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
Added missing packages in models
This commit is contained in:
parent
a50626fd2f
commit
b17d66dbf8
5 changed files with 9 additions and 4 deletions
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue