Skip to content

Commit

Permalink
chire(engine interface): delete engine interfaces.go file
Browse files Browse the repository at this point in the history
  • Loading branch information
mj committed Jun 23, 2024
1 parent a97e252 commit ec909f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
5 changes: 5 additions & 0 deletions internal/engine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ type BotEngine struct {
marketCmd market.Market
}

type IEngine interface {
Run(appID entity.AppID, callerID string, tokens []string) (*command.CommandResult, error)
Commands() []command.Command
}

func NewBotEngine(cfg *config.Config) (*BotEngine, error) {
ctx, cancel := context.WithCancel(context.Background())

Expand Down
11 changes: 0 additions & 11 deletions internal/engine/interface.go

This file was deleted.

0 comments on commit ec909f8

Please sign in to comment.