summaryrefslogtreecommitdiffstats
path: root/services/f3/driver/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/f3/driver/main.go')
-rw-r--r--services/f3/driver/main.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/services/f3/driver/main.go b/services/f3/driver/main.go
new file mode 100644
index 0000000..825d456
--- /dev/null
+++ b/services/f3/driver/main.go
@@ -0,0 +1,17 @@
+// Copyright Earl Warren <contact@earl-warren.org>
+// Copyright Loïc Dachary <loic@dachary.org>
+// SPDX-License-Identifier: MIT
+
+package driver
+
+import (
+ driver_options "code.gitea.io/gitea/services/f3/driver/options"
+
+ "code.forgejo.org/f3/gof3/v3/options"
+ f3_tree "code.forgejo.org/f3/gof3/v3/tree/f3"
+)
+
+func init() {
+ f3_tree.RegisterForgeFactory(driver_options.Name, newTreeDriver)
+ options.RegisterFactory(driver_options.Name, newOptions)
+}