Restructure project directories
Follow the standard of all go projects
This commit is contained in:
parent
741f18efd1
commit
5445ce1ccf
20 changed files with 39 additions and 42 deletions
15
internal/commands/command.go
Normal file
15
internal/commands/command.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package commands
|
||||
|
||||
import (
|
||||
"gitlab.com/revalus/grm/internal/config"
|
||||
)
|
||||
|
||||
type Command interface {
|
||||
Command(repoCfg config.RepositoryConfig) CommandStatus
|
||||
}
|
||||
type CommandStatus struct {
|
||||
Name string
|
||||
Changed bool
|
||||
Message string
|
||||
Error bool
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue