chore: latest tmptest template
This commit is contained in:
parent
718e6f12cc
commit
431d3d1bfd
1 changed files with 12 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue