flags

package
v0.5.15 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

View Source
const (
	Htmx              string = "htmx"
	GoProjectWorkflow string = "githubaction"
	Websocket         string = "websocket"
)

Variables

View Source
var AllowedAdvancedFeatures = []string{string(Htmx), string(GoProjectWorkflow), string(Websocket)}

Functions

This section is empty.

Types

type AdvancedFeatures added in v0.5.8

type AdvancedFeatures []string

func (*AdvancedFeatures) Set added in v0.5.8

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

func (AdvancedFeatures) String added in v0.5.8

func (f AdvancedFeatures) String() string

func (*AdvancedFeatures) Type added in v0.5.8

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

Jump to

Keyboard shortcuts

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