fix(path): Fix package name after git server migration
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5f4e7e5be6
commit
3d878c050d
@ -7,8 +7,8 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
@ -4,7 +4,7 @@ Copyright © 2022 Matthieu Derasse <git@derasse.fr>
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/api_types"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers/api_types"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
@ -4,7 +4,7 @@ Copyright © 2022 Matthieu Derasse <git@derasse.fr>
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/api_types"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers/api_types"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
@ -4,7 +4,7 @@ Copyright © 2022 Matthieu Derasse <git@derasse.fr>
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/api_types"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers/api_types"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
@ -4,7 +4,7 @@ Copyright © 2022 Matthieu Derasse <git@derasse.fr>
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/api_types"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers/api_types"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
@ -12,10 +12,10 @@ import (
|
||||
"github.com/juju/errors"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/api_types"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/input"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers/api_types"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers/input"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -6,7 +6,7 @@ package cmd
|
||||
import (
|
||||
"os"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/dependencies"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers/dependencies"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
@ -6,8 +6,8 @@ package cmd
|
||||
import (
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/input"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers/input"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
||||
module git.home.m-and-m.ovh/mderasse/gouick
|
||||
module git.dev.m-and-m.ovh/mderasse/gouick
|
||||
|
||||
go 1.19
|
||||
|
||||
|
@ -3,10 +3,10 @@ package api_types
|
||||
import (
|
||||
"github.com/juju/errors"
|
||||
|
||||
"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/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers/api_types/gin_gonic"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers/api_types/go_swagger"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers/api_types/mojolicious"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// GetAPIType will return the APIType object based on an APITypeName.
|
||||
|
@ -3,7 +3,7 @@ package base
|
||||
import (
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
)
|
||||
|
||||
// CheckInitialize will do preliminary check before initializing a new project.
|
||||
|
@ -3,8 +3,8 @@ package base
|
||||
import (
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// CreateProjectSkeleton will generate all the files needed to start a new project.
|
||||
|
@ -3,8 +3,8 @@ package base
|
||||
import (
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// GenerateDockerfile will generate dockerfile based on the given config.
|
||||
|
@ -3,8 +3,8 @@ package base
|
||||
import (
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// GenerateLauncher will generate a launcher entrypoint based on the given config.
|
||||
|
@ -3,8 +3,8 @@ package base
|
||||
import (
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// GenerateMakefile will generate makefile based on the given config.
|
||||
|
@ -3,8 +3,8 @@ package base
|
||||
import (
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// GenerateReadme will generate a readme based on the given config.
|
||||
|
@ -1,7 +1,7 @@
|
||||
package base
|
||||
|
||||
import (
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// GetName return the APITypeName of the APIType.
|
||||
|
@ -3,8 +3,8 @@ package base
|
||||
import (
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// GetInitializeUserInput will ask user to provide information that allow initialization of a project.
|
||||
|
@ -1,6 +1,6 @@
|
||||
package gin_gonic
|
||||
|
||||
import "git.home.m-and-m.ovh/mderasse/gouick/helpers/api_types/base"
|
||||
import "git.dev.m-and-m.ovh/mderasse/gouick/helpers/api_types/base"
|
||||
|
||||
// APIType represent an empty struct respecting the APITypeInterface.
|
||||
type APIType struct {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package gin_gonic
|
||||
|
||||
import (
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// GetName return the APITypeName of the APIType.
|
||||
|
@ -1,6 +1,6 @@
|
||||
package go_swagger
|
||||
|
||||
import "git.home.m-and-m.ovh/mderasse/gouick/helpers/api_types/base"
|
||||
import "git.dev.m-and-m.ovh/mderasse/gouick/helpers/api_types/base"
|
||||
|
||||
// APIType represent an empty struct respecting the APITypeInterface.
|
||||
type APIType struct {
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -3,7 +3,7 @@ package go_swagger
|
||||
import (
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -3,8 +3,8 @@ package go_swagger
|
||||
import (
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers/input"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers/input"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package go_swagger
|
||||
|
||||
import (
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// GetName return the APITypeName of the APIType.
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
"github.com/jessevdk/go-flags"
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -6,8 +6,8 @@ import (
|
||||
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -6,8 +6,8 @@ import (
|
||||
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.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/models"
|
||||
import "git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
// APITypeInterface is the interface that need to be respected by an APIType.
|
||||
type APITypeInterface interface {
|
||||
|
@ -1,6 +1,6 @@
|
||||
package mojolicious
|
||||
|
||||
import "git.home.m-and-m.ovh/mderasse/gouick/helpers/api_types/base"
|
||||
import "git.dev.m-and-m.ovh/mderasse/gouick/helpers/api_types/base"
|
||||
|
||||
// APIType represent an empty struct respecting the APITypeInterface.
|
||||
type APIType struct {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package mojolicious
|
||||
|
||||
import (
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// GetName return the APITypeName of the APIType.
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
"github.com/juju/errors"
|
||||
"gopkg.in/yaml.v3"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -3,7 +3,7 @@ package dependencies
|
||||
import (
|
||||
"os/exec"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
"github.com/juju/errors"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
@ -12,8 +12,8 @@ import (
|
||||
"github.com/blang/semver"
|
||||
"github.com/juju/errors"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -1,6 +1,6 @@
|
||||
package dependencies
|
||||
|
||||
import "git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
import "git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
|
||||
// DependencyInterface is the interface that need to be respected for a dependency.
|
||||
type DependencyInterface interface {
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
"runtime"
|
||||
"strings"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
"github.com/blang/semver"
|
||||
"github.com/juju/errors"
|
||||
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.home.m-and-m.ovh/mderasse/gouick/models"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/helpers"
|
||||
"git.dev.m-and-m.ovh/mderasse/gouick/models"
|
||||
)
|
||||
|
||||
// Path ask user for a path string and try until we get a possible answer.
|
||||
|
Loading…
Reference in New Issue
Block a user