We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c32c61 commit 9be970eCopy full SHA for 9be970e
2 files changed
go.mod
@@ -3,4 +3,5 @@ module github.com/gotify/plugin-template
3
require (
4
github.com/gin-gonic/gin v1.3.0
5
github.com/gotify/plugin-api v1.0.0
6
+ github.com/stretchr/testify v1.3.0
7
)
plugin_test.go
@@ -0,0 +1,13 @@
1
+package main
2
+
+import (
+ "testing"
+ "github.com/gotify/plugin-api"
+ "github.com/stretchr/testify/assert"
8
+)
9
10
+func TestAPICompatibility(t *testing.T) {
11
+ assert.Implements(t, (*plugin.Plugin)(nil), new(MyPlugin))
12
+ // Add other interfaces you intend to implement here
13
+}
0 commit comments