This commit is contained in:
Aliberk Sandıkçı 2023-08-30 22:40:08 +03:00
parent c9af6756ef
commit 2ec1eb4fdf
Signed by: asandikci
GPG Key ID: 25C67A03B5666BC1
2 changed files with 37 additions and 0 deletions

11
plugins/tmptest/info.go Normal file
View File

@ -0,0 +1,11 @@
package main
func (p plug) Info() map[string]interface{} {
return map[string]interface{}{
"name": "tmptest",
"version": "1.0.2",
"support": "any",
"description": "Temporary testing",
"developer": "asandikci@aliberksandikci.com.tr",
}
}

26
plugins/tmptest/main.go Normal file
View File

@ -0,0 +1,26 @@
package main
import (
"fmt"
"time"
)
type plug string
// exported plugin Symbol
var TmptestConnect plug
func (p plug) TmpTest() {
fmt.Println()
fmt.Println("----- Entered Test Area -----")
fmt.Println()
fmt.Println()
//s
// THIS FILE WON'T UPDATE ANYMORE (bsecause of .gitignore)
fmt.Println()
fmt.Println()
fmt.Println("----- End of Test Area -----")
fmt.Println()
time.Sleep(5 * time.Second)
}