👥 Added patrons list in log
This commit is contained in:
parent
6271bd7f21
commit
236e5ee8e8
1 changed files with 17 additions and 0 deletions
17
patrons.go
Normal file
17
patrons.go
Normal file
|
@ -0,0 +1,17 @@
|
|||
package oembed
|
||||
|
||||
import (
|
||||
"log"
|
||||
"sort"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func init() {
|
||||
patrons := []string{"Aurielb", "MoD21k", "Yami Odymel"}
|
||||
sort.Strings(patrons)
|
||||
log.Print(
|
||||
"Support toby3d on Patreon: https://patreon.com/bePatron?c=243288", "\n",
|
||||
"The current version of oembed is sponsored by: ",
|
||||
strings.Join(patrons[:len(patrons)-1], ", "), " and ", patrons[len(patrons)-1],
|
||||
)
|
||||
}
|
Loading…
Reference in a new issue