feat(init): Prepare Project skeleton structure

This commit is contained in:
Matthieu 'JP' DERASSE 2022-08-09 16:25:11 +00:00
parent fbe19b4e31
commit eb8befc77c
Signed by: mderasse
GPG Key ID: 55141C777B16A705
5 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,13 @@
package go_swagger
import (
log "github.com/sirupsen/logrus"
)
// CreateProjectSkeleton will generate all the files needed to start a new project.
// it will return a list of created files or an error
func (a APIType) CreateProjectSkeleton(path string) ([]string, error) {
log.Debugf("Starting %s create project skeleton", string(a.GetName()))
return nil, nil
}

View File

View File

View File

@ -0,0 +1,11 @@
# Code generated by gouick; DO NOT EDIT.
APICMD= go run cmd/{{ .AppNameKebabCase }}-server/*
CMD= env PORT=${PORT:-3000} HOST=${HOST:-0.0.0.0} $(APICMD)
generate:
gouick generate
launch:
@$(CMD)

View File