Sync a declarative package list with the pacman package manager
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package output |
|
|
|
import "fmt" |
|
|
|
type Result struct { |
|
Installed int |
|
Removed int |
|
} |
|
|
|
func Format(r *Result) string { |
|
return fmt.Sprintf("Installed %d packages, removed %d packages", r.Installed, r.Removed) |
|
}
|
|
|