feat: add object storage and points leaderboard

This commit is contained in:
richjohnrambo
2026-10-18 18:11:34 +08:00
parent bce5edfaf5
commit b79b781f15
24 changed files with 359 additions and 212 deletions
+11
View File
@@ -0,0 +1,11 @@
package attachments
import "testing"
func TestMinioPublicURL(t *testing.T) {
got := minioPublicURL("https://minio.example.com/", "bucket", "images/2026/10/17/a b.jpg")
want := "https://minio.example.com/bucket/images/2026/10/17/a%20b.jpg"
if got != want {
t.Fatalf("minioPublicURL() = %q, want %q", got, want)
}
}