/api/trends prints pie of each of last N months
This commit is contained in:
@@ -35,6 +35,12 @@ func LikeAfter(date string) Like {
|
||||
}
|
||||
}
|
||||
|
||||
func LikeNotName(pattern string) Like {
|
||||
return func(d Delta) bool {
|
||||
return !like(pattern, d.Name)
|
||||
}
|
||||
}
|
||||
|
||||
func LikeName(pattern string) Like {
|
||||
return func(d Delta) bool {
|
||||
return like(pattern, d.Name)
|
||||
|
||||
Reference in New Issue
Block a user