project

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2024 License: MIT Imports: 5 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL