flags

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

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