tmp
This commit is contained in:
parent
c9af6756ef
commit
2ec1eb4fdf
2 changed files with 37 additions and 0 deletions
11
plugins/tmptest/info.go
Normal file
11
plugins/tmptest/info.go
Normal 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
26
plugins/tmptest/main.go
Normal 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)
|
||||
}
|
Loading…
Reference in a new issue