Skip to content
This repository was archived by the owner on Apr 9, 2020. It is now read-only.

Commit 236e5ee

Browse files
committed
👥 Added patrons list in log
1 parent 6271bd7 commit 236e5ee

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

patrons.go

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package oembed
2+
3+
import (
4+
"log"
5+
"sort"
6+
"strings"
7+
)
8+
9+
func init() {
10+
patrons := []string{"Aurielb", "MoD21k", "Yami Odymel"}
11+
sort.Strings(patrons)
12+
log.Print(
13+
"Support toby3d on Patreon: https://patreon.com/bePatron?c=243288", "\n",
14+
"The current version of oembed is sponsored by: ",
15+
strings.Join(patrons[:len(patrons)-1], ", "), " and ", patrons[len(patrons)-1],
16+
)
17+
}

0 commit comments

Comments
 (0)