feat(rename): Rename app
This commit is contained in:
parent
a3c953c7a4
commit
13903329c8
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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
2
go.mod
@ -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
|
||||||
|
|
||||||
|
@ -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) {
|
||||||
|
7
helpers/api_type/base/get_user_input.go
Normal file
7
helpers/api_type/base/get_user_input.go
Normal 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
|
||||||
|
}
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
@ -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"
|
||||||
)
|
)
|
||||||
|
@ -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"
|
||||||
)
|
)
|
||||||
|
5
helpers/structure/api_type.go
Normal file
5
helpers/structure/api_type.go
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
package structure
|
||||||
|
|
||||||
|
// UserInputParams
|
||||||
|
type UserInputParams struct {
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user