Documentation
¶
Index ¶
Constants ¶
View Source
const ( DBProviderGormMysql = "gorm.io/driver/mysql" DBProviderGormPostgres = "gorm.io/driver/postgres" DBProviderMysql = "github.com/go-sql-driver/mysql" DBProviderPostgres = "github.com/lib/pq" DBProviderNone = "" )
View Source
const ( DBLibraryGorm = "gorm.io/gorm" DBLibrarySql = "database/sql" DBLibrarySqlx = "github.com/jmoiron/sqlx" DBLibrarySqlscan = "github.com/georgysavva/scany/v2/sqlscan" DBLibraryNone = "" )
View Source
const ( WebLibraryGin = "github.com/gin-gonic/gin" WebLibraryFiber = "github.com/gofiber/fiber/v2" WebLibraryGorillamux = "github.com/gorilla/mux" WebLibraryHttp = "net/http" WebLibraryNone = "" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
Name string
WebLibrary string
DoVendor bool
Dependencies map[string]struct{}
DBProvider string
DBLibrary string
Template template
// contains filtered or unexported fields
}
func NewConfiguration ¶
func NewConfiguration(strpath string) *Configuration
func (*Configuration) CalculateProgress ¶
func (c *Configuration) CalculateProgress() float64
func (*Configuration) GetCurrentCmd ¶
func (c *Configuration) GetCurrentCmd() string
func (*Configuration) Start ¶
func (c *Configuration) Start() (err error)
Click to show internal directories.
Click to hide internal directories.