command

package
v0.5.18 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	Run() error
}

Command は、サンプルの動作確認のためのインターフェースです.

type ListFileCommand

type ListFileCommand struct {
	Dir     string
	Pattern string
}

ListFileCommand は、指定されたパターンのファイルを出力します.

func (*ListFileCommand) Run

func (c *ListFileCommand) Run() error

Run は、パターンにマッチしたファイル名を出力します.

Jump to

Keyboard shortcuts

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