generator

package
v0.0.0-...-dc2ee45 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(settings *Settings) error

Types

type DBChoice

type DBChoice string
const (
	NoDb       DBChoice = "No database"
	Clickhouse DBChoice = "Clickhouse"
	Postgresql DBChoice = "Postgres"
)

type LoggerChoice

type LoggerChoice string
const (
	GoKit LoggerChoice = "Go Kit"
	Zap   LoggerChoice = "Zap"
)

type RouterChoice

type RouterChoice string
const (
	GorillaMux RouterChoice = "Gorilla mux"
	GIN        RouterChoice = "GIN"
)

type Settings

type Settings struct {
	ProjectName          string
	ProjectRootDir       string
	Logger               LoggerChoice
	Database             DBChoice
	Router               RouterChoice
	UseConsul            bool
	SyncConfigWithConsul bool
	UseJaeger            bool
	UsePrometheus        bool

	WithDeps bool
}

Jump to

Keyboard shortcuts

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