This commit is contained in:
2024-01-18 15:52:30 +03:00
commit 897ca83ad8
7 changed files with 418 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package trace
import (
"fmt"
"time"
)
func MyTrace() time.Time {
fmt.Println("START TRACE")
return time.Now()
}
func UndoTrace(startTime time.Time) {
endTime := time.Now()
fmt.Println("END ElapsedTime in seconds: ", endTime.Sub(startTime))
}