feat(rename): Rename app

This commit is contained in:
Matthieu 'JP' DERASSE 2022-07-28 22:03:57 +00:00
parent a3c953c7a4
commit 13903329c8
Signed by: mderasse
GPG Key ID: 55141C777B16A705
14 changed files with 29 additions and 14 deletions

View File

@ -8,8 +8,8 @@ import (
"os" "os"
"strings" "strings"
"git.home.m-and-m.ovh/mderasse/boot/helpers" "git.home.m-and-m.ovh/mderasse/gouick/helpers"
"git.home.m-and-m.ovh/mderasse/boot/helpers/api_type" "git.home.m-and-m.ovh/mderasse/gouick/helpers/api_type"
"github.com/spf13/cobra" "github.com/spf13/cobra"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"

View File

@ -7,7 +7,7 @@ package cmd
import ( import (
"os" "os"
"git.home.m-and-m.ovh/mderasse/boot/helpers/dependencies" "git.home.m-and-m.ovh/mderasse/gouick/helpers/dependencies"
"github.com/spf13/cobra" "github.com/spf13/cobra"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"

View File

@ -7,7 +7,7 @@ package cmd
import ( import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"git.home.m-and-m.ovh/mderasse/boot/helpers" "git.home.m-and-m.ovh/mderasse/gouick/helpers"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

2
go.mod
View File

@ -1,4 +1,4 @@
module git.home.m-and-m.ovh/mderasse/boot module git.home.m-and-m.ovh/mderasse/gouick
go 1.17 go 1.17

View File

@ -3,9 +3,9 @@ package api_type
import ( import (
"github.com/juju/errors" "github.com/juju/errors"
"git.home.m-and-m.ovh/mderasse/boot/helpers/api_type/gin_gonic" "git.home.m-and-m.ovh/mderasse/gouick/helpers/api_type/gin_gonic"
"git.home.m-and-m.ovh/mderasse/boot/helpers/api_type/go_swagger" "git.home.m-and-m.ovh/mderasse/gouick/helpers/api_type/go_swagger"
"git.home.m-and-m.ovh/mderasse/boot/helpers/api_type/mojolicious" "git.home.m-and-m.ovh/mderasse/gouick/helpers/api_type/mojolicious"
) )
func GetApiType(in ApiTypeName) (ApiTypeInterface, error) { func GetApiType(in ApiTypeName) (ApiTypeInterface, error) {

View File

@ -0,0 +1,7 @@
package base
import "git.home.m-and-m.ovh/mderasse/gouick/helpers/structure"
func (a ApiType) GetUserInput() (*structure.UserInputParams, error) {
return nil, nil
}

View File

@ -1,6 +1,6 @@
package gin_gonic package gin_gonic
import "git.home.m-and-m.ovh/mderasse/boot/helpers/api_type/base" import "git.home.m-and-m.ovh/mderasse/gouick/helpers/api_type/base"
// ApiType // ApiType
type ApiType struct { type ApiType struct {

View File

@ -1,6 +1,6 @@
package go_swagger package go_swagger
import "git.home.m-and-m.ovh/mderasse/boot/helpers/api_type/base" import "git.home.m-and-m.ovh/mderasse/gouick/helpers/api_type/base"
// ApiType // ApiType
type ApiType struct { type ApiType struct {

View File

@ -1,5 +1,8 @@
package api_type package api_type
import "git.home.m-and-m.ovh/mderasse/gouick/helpers/structure"
// ApiTypeInterface // ApiTypeInterface
type ApiTypeInterface interface { type ApiTypeInterface interface {
GetUserInput() (*structure.UserInputParams, error)
} }

View File

@ -1,6 +1,6 @@
package mojolicious package mojolicious
import "git.home.m-and-m.ovh/mderasse/boot/helpers/api_type/base" import "git.home.m-and-m.ovh/mderasse/gouick/helpers/api_type/base"
// ApiType // ApiType
type ApiType struct { type ApiType struct {

View File

@ -12,7 +12,7 @@ import (
"github.com/blang/semver" "github.com/blang/semver"
"github.com/juju/errors" "github.com/juju/errors"
"git.home.m-and-m.ovh/mderasse/boot/helpers" "git.home.m-and-m.ovh/mderasse/gouick/helpers"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View File

@ -5,7 +5,7 @@ import (
"os" "os"
"strings" "strings"
"git.home.m-and-m.ovh/mderasse/boot/helpers/api_type" "git.home.m-and-m.ovh/mderasse/gouick/helpers/api_type"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View File

@ -0,0 +1,5 @@
package structure
// UserInputParams
type UserInputParams struct {
}

View File

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