fix(path): Fix package name after git server migration
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Matthieu 'JP' DERASSE 2022-11-26 22:36:00 +00:00
parent 5f4e7e5be6
commit 3d878c050d
Signed by: mderasse
GPG Key ID: 55141C777B16A705
45 changed files with 70 additions and 70 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"
)

View File

@ -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"

View File

@ -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
View File

@ -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

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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 {

View File

@ -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.

View File

@ -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 {

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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.

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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 {

View File

@ -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 {

View File

@ -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.

View File

@ -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"
)

View File

@ -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"

View File

@ -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"
)

View File

@ -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 {

View File

@ -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"

View File

@ -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.

View File

@ -3,7 +3,7 @@ Copyright © 2022 Matthieu Derasse <git@derasse.fr>
*/
package main
import "git.home.m-and-m.ovh/mderasse/gouick/cmd"
import "git.dev.m-and-m.ovh/mderasse/gouick/cmd"
func main() {
cmd.Execute()