refactor to use app package instead of service
refactor app to be composable
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package issuesCmd
|
||||
package issues
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -70,7 +70,6 @@ func runCommentCmd(cmd *cobra.Command, args []string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
func defaultCommentAuthor() string {
|
||||
if u, err := user.Current(); err == nil && u.Username != "" {
|
||||
return u.Username
|
||||
|
||||
Reference in New Issue
Block a user