We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ACs:
Should be implemented in command module
command
Should implement Command interface
Command
Implement Print command functionality
Print
Implement Split command functionality
Split
Print example:
type Print struct { arg string } func (p *Print) Execute(loop engine.Handler) { fmt.Println(p.arg) }
ATTENTION: THIS COMMAND SHOULD NOT BE IMPLEMENTED IT'S JUST AN EXAMPLE
Mul
type Mul struct { arg1, arg2 int } func (mul * Mul) Execute(loop engine.Handler) { res := mul.arg1 * mul.arg2 loop.Post(&printCommand{arg: strconv.Itoa(res)}) }
# input file split a:bc:d:ef :
# result a bc d ef
The text was updated successfully, but these errors were encountered:
yehorbk
Successfully merging a pull request may close this issue.
ACs:
Should be implemented in
command
moduleShould implement
Command
interfaceImplement
Print
command functionalityImplement
Split
command functionalityPrint
example:ATTENTION: THIS COMMAND SHOULD NOT BE IMPLEMENTED IT'S JUST AN EXAMPLE
Mul
example:The text was updated successfully, but these errors were encountered: