From 431d3d1bfdb0f82a3cfe9148c2c8fe93aeb16e28 Mon Sep 17 00:00:00 2001 From: asandikci Date: Tue, 29 Aug 2023 20:54:15 +0300 Subject: [PATCH] chore: latest tmptest template --- plugins/tmptest/main.go | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/plugins/tmptest/main.go b/plugins/tmptest/main.go index 97e0d4c..9e29011 100644 --- a/plugins/tmptest/main.go +++ b/plugins/tmptest/main.go @@ -1,9 +1,8 @@ package main import ( - "log" - - "github.com/zcalusic/sysinfo" + "fmt" + "time" ) type plug string @@ -12,11 +11,18 @@ type plug string var TmptestConnect plug func (p plug) TmpTest() { - var si sysinfo.SysInfo + fmt.Println() + fmt.Println("----- Entered Test Area -----") + fmt.Println() + fmt.Println() - si.GetSysInfo() + // THIS FILE WON'T UPDATE ANYMORE (because of .gitignore) - log.Println(si) + fmt.Println() + fmt.Println() + fmt.Println("----- End of Test Area -----") + fmt.Println() + time.Sleep(5 * time.Second) } func (p plug) Info() map[string]string {