FlexMLS support

This commit is contained in:
Caleb Gardner
2024-02-05 11:23:01 -06:00
parent 7087574366
commit 16a0cf7e9b
2 changed files with 16 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
package flexmls
import (
"github.com/CalebQ42/stupid-backend/v2/defaultapp"
"go.mongodb.org/mongo-driver/mongo"
)
type FlexMLS struct {
*defaultapp.App
}
func NewBackend(client *mongo.Client) *FlexMLS {
return &FlexMLS{defaultapp.NewDefaultApp(client.Database("flexmls"))}
}