Fix assignee filter bug in List
This commit is contained in:
17
service/config.go
Normal file
17
service/config.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package service
|
||||
|
||||
type Alias struct {
|
||||
Name string `json:"name"`
|
||||
Command string `json:"command"`
|
||||
Description string `json:"description,omitempty"`
|
||||
}
|
||||
|
||||
type Config interface {
|
||||
GetUser() string
|
||||
SetUser(username string) error
|
||||
GetAlias(name string) (*Alias, error)
|
||||
SetAlias(alias *Alias) error
|
||||
DeleteAlias(name string) error
|
||||
ListAliases() ([]*Alias, error)
|
||||
Save() error
|
||||
}
|
||||
Reference in New Issue
Block a user