Skip to content

Commit

Permalink
Fix package
Browse files Browse the repository at this point in the history
  • Loading branch information
valbeat committed Jul 27, 2022
1 parent bad7c48 commit 2be42e5
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions commands.go → cmd/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package main

import (
"fmt"
"github.com/valbeat/whatday/command"

"github.com/valbeat/whatday/cmd/commands"
"os"

"github.com/urfave/cli"
Expand All @@ -14,13 +15,13 @@ var Commands = []cli.Command{
{
Name: "random",
Usage: "",
Action: command.CmdRandom,
Action: commands.CmdRandom,
Flags: []cli.Flag{},
},
{
Name: "list",
Usage: "",
Action: command.CmdList,
Action: commands.CmdList,
Flags: []cli.Flag{},
},
}
Expand Down
2 changes: 1 addition & 1 deletion command/list.go → cmd/commands/list.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package command
package commands

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion command/list_test.go → cmd/commands/list_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package command
package commands

import (
"flag"
Expand Down
2 changes: 1 addition & 1 deletion command/random.go → cmd/commands/random.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package command
package commands

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion command/random_test.go → cmd/commands/random_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package command
package commands

import (
"flag"
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 2be42e5

Please sign in to comment.