command

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(s Starter) (error, error)

Types

type GenericArgs

type GenericArgs struct {
	// contains filtered or unexported fields
}

func (GenericArgs) Force

func (a GenericArgs) Force() bool

func (GenericArgs) NoIgnore

func (a GenericArgs) NoIgnore() bool

func (GenericArgs) Path

func (a GenericArgs) Path() string

type ServeArgs

type ServeArgs struct {
	// contains filtered or unexported fields
}

func (ServeArgs) Gopls

func (a ServeArgs) Gopls() string

func (ServeArgs) LoggerInfo

func (s ServeArgs) LoggerInfo() (slog.Level, string, bool)

func (ServeArgs) Socket

func (a ServeArgs) Socket() (string, string, bool)

func (ServeArgs) Timeout

func (a ServeArgs) Timeout() time.Duration

type Starter

type Starter interface {
	Default() error
	Serve(args ServeArgs) error
	Format(args GenericArgs) error
	Generate(args GenericArgs) error
}

Jump to

Keyboard shortcuts

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