flags

package
v0.10.4-0...-03c1e77 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: MIT Imports: 2 Imported by: 0

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 AllowedGitsOptions = []string{string(Commit), string(Stage), string(Skip)}

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!

func (*Database) Set

func (f *Database) Set(value string) error

func (Database) String

func (f Database) String() string

func (*Database) Type

func (f *Database) Type() string

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!

func (*Framework) Set

func (f *Framework) Set(value string) error

func (Framework) String

func (f Framework) String() string

func (*Framework) Type

func (f *Framework) Type() string

type Git

type Git string

func (*Git) Set

func (f *Git) Set(value string) error

func (Git) String

func (f Git) String() string

func (*Git) Type

func (f *Git) Type() string

Jump to

Keyboard shortcuts

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