mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-12 05:20:26 +00:00
25 lines
848 B
Go
25 lines
848 B
Go
package shroom
|
||
|
||
import (
|
||
"log"
|
||
|
||
"github.com/bouncepaw/mycorrhiza/hyphae"
|
||
"github.com/bouncepaw/mycorrhiza/user"
|
||
)
|
||
|
||
func rejectDeleteLog(h *hyphae.Hypha, u *user.User, errmsg string) {
|
||
log.Printf("Reject delete ‘%s’ by @%s: %s\n", h.Name, u.Name, errmsg)
|
||
}
|
||
func rejectRenameLog(h *hyphae.Hypha, u *user.User, errmsg string) {
|
||
log.Printf("Reject rename ‘%s’ by @%s: %s\n", h.Name, u.Name, errmsg)
|
||
}
|
||
func rejectUnattachLog(h *hyphae.Hypha, u *user.User, errmsg string) {
|
||
log.Printf("Reject unattach ‘%s’ by @%s: %s\n", h.Name, u.Name, errmsg)
|
||
}
|
||
func rejectEditLog(h *hyphae.Hypha, u *user.User, errmsg string) {
|
||
log.Printf("Reject edit ‘%s’ by @%s: %s\n", h.Name, u.Name, errmsg)
|
||
}
|
||
func rejectAttachLog(h *hyphae.Hypha, u *user.User, errmsg string) {
|
||
log.Printf("Reject attach ‘%s’ by @%s: %s\n", h.Name, u.Name, errmsg)
|
||
}
|