Change function Download module and format type print log

This commit is contained in:
2020-04-13 10:45:29 +07:00
parent 11a715ed34
commit 56c9eaec33
6 changed files with 116 additions and 326 deletions

Binary file not shown.

View File

@@ -76,12 +76,14 @@ var STT_test bool
//============================> Main <==========================
func main() {
file.Println("----------------------START MAIN -------------------------")
// mqtt.DEBUG = log.New(os.Stderr, "DEBUG ", log.Ltime) // | log.Lshortfile)
//box.GetDir() // Check thu muc goc
fmt.Println("FUC......U")
file.Check_path(box.Path_log_luncher)
file.Check_path(box.Path_log_engine)
file.Write_log("<------------------------------------------------------->", box.Path_log_luncher)
file.Write_log("<-------------------- START MAIN ----------------------->", box.Path_log_luncher)
file.Write_log("<------------------------------------------------------->", box.Path_log_luncher)
box.Stop_check_engine()
box.Stop_engine()

View File

@@ -1,5 +0,0 @@
set GOOS=linux
set GOARCH=arm
set GOARM=5
go build
pause