flags

package
v0.0.0-...-c5bda25 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedDataBaseTypes = []string{string(Postgres), string(Mysql), string(Sqlite)}
View Source
var AllowedProjectTypes = []string{string(Django), string(DRF), string(PyTorch), string(Go), string(GoCLI)}

Functions

This section is empty.

Types

type DataBase

type DataBase string
const (
	Postgres DataBase = "postgres"
	Mysql    DataBase = "mysql"
	Sqlite   DataBase = "sqlite"
)

func (*DataBase) Set

func (db *DataBase) Set(value string) error

func (DataBase) String

func (db DataBase) String() string

func (*DataBase) Type

func (db *DataBase) Type() string

type Project

type Project string
const (
	Django  Project = "django"
	DRF     Project = "drf"
	PyTorch Project = "pytorch"
	Go      Project = "go"
	GoCLI   Project = "go-cli"
)

func (*Project) Set

func (p *Project) Set(value string) error

func (Project) String

func (p Project) String() string

func (*Project) Type

func (p *Project) Type() string

Jump to

Keyboard shortcuts

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