Documentation
¶
Index ¶
Constants ¶
View Source
const ( Htmx string = "htmx" GoProjectWorkflow string = "githubaction" Websocket string = "websocket" Tailwind string = "tailwind" Docker string = "docker" )
View Source
const ( Commit = "commit" Stage = "stage" Skip = "skip" )
Variables ¶
View Source
var AllowedAdvancedFeatures = []string{string(Htmx), string(GoProjectWorkflow), string(Websocket), string(Tailwind), string(Docker)}
View Source
var AllowedDBDrivers = []string{string(MySql), string(Postgres), string(Sqlite), string(Mongo), string(Redis), string(None)}
View Source
var AllowedProjectTypes = []string{string(Chi), string(Gin), string(Fiber), string(GorillaMux), string(HttpRouter), string(StandardLibrary), string(Echo)}
Functions ¶
This section is empty.
Types ¶
type AdvancedFeatures ¶
type AdvancedFeatures []string
func (*AdvancedFeatures) Set ¶
func (f *AdvancedFeatures) Set(value string) error
func (AdvancedFeatures) String ¶
func (f AdvancedFeatures) String() string
func (*AdvancedFeatures) Type ¶
func (f *AdvancedFeatures) Type() string
type Database ¶
type Database string
const ( MySql Database = "mysql" Postgres Database = "postgres" Sqlite Database = "sqlite" Mongo Database = "mongo" Redis Database = "redis" None Database = "none" )
These are all the current databases supported. If you want to add one, you can simply copy and past a line here. Do not forget to also add it into the AllowedDBDrivers slice too!
type Framework ¶
type Framework string
const ( Chi Framework = "chi" Gin Framework = "gin" Fiber Framework = "fiber" GorillaMux Framework = "gorilla/mux" HttpRouter Framework = "httprouter" StandardLibrary Framework = "standard-library" Echo Framework = "echo" )
These are all the current frameworks supported. If you want to add one, you can simply copy and past a line here. Do not forget to also add it into the AllowedProjectTypes slice too!
Click to show internal directories.
Click to hide internal directories.