refacto(models): Move models to the root of the project
This commit is contained in:
@ -6,7 +6,7 @@ import (
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/api_types/gin_gonic"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/api_types/go_swagger"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/api_types/mojolicious"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/models"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// GetAPIType will return the APIType object based on an APITypeName.
|
||||
|
@ -1,7 +1,7 @@
|
||||
package base
|
||||
|
||||
import (
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/models"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// GetName return the APITypeName of the APIType.
|
||||
|
@ -1,7 +1,7 @@
|
||||
package base
|
||||
|
||||
import (
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/models"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
"github.com/juju/errors"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package gin_gonic
|
||||
|
||||
import (
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/models"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// GetName return the APITypeName of the APIType.
|
||||
|
@ -1,7 +1,7 @@
|
||||
package go_swagger
|
||||
|
||||
import (
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/models"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// GetName return the APITypeName of the APIType.
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/models"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -1,6 +1,6 @@
|
||||
package api_types
|
||||
|
||||
import "git.home.m-and-m.ovh/mderasse/gouick/helpers/models"
|
||||
import "git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
// APITypeInterface is the interface that need to be respected by an APIType.
|
||||
type APITypeInterface interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package mojolicious
|
||||
|
||||
import (
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/models"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// GetName return the APITypeName of the APIType.
|
||||
|
Reference in New Issue
Block a user