cmd

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute executes the root command.

Types

type CurDir

type CurDir struct {
	Dir string
}

type Mod

type Mod struct {
	Path, Dir, GoVersion string
}

type Service

type Service struct {
	PkgName       string
	AbsolutePath  string
	AppName       string
	SvcPath       string
	GoVersion     string
	AlpineVersion string
	Description   string
	Apps          SvcApps
	Infras        SvcInfras
	WithInfra     bool
	WithProto     bool
	WithServer    bool
}

Service contains name and paths to services.

func (*Service) Create

func (s *Service) Create() error

type SvcApps

type SvcApps struct {
	Http    bool
	Grpc    bool
	Cronjob bool
	Looper  bool
}

type SvcInfras

type SvcInfras struct {
	Mongo  bool
	Redis  bool
	Sentry bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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