wolfcw / libfaketime

libfaketime modifies the system time for a single application
https://github.com/wolfcw/libfaketime
GNU General Public License v2.0
2.69k stars 323 forks source link

speed acceleration not working with Golang #474

Open faayizm opened 1 month ago

faayizm commented 1 month ago

Below is the program i tried.

package main

import ( "fmt" "time" )

func main() { fmt.Println("Starting Go sleep test in infinite loop...") for { fmt.Println("Sleeping for 2 seconds...") time.Sleep(2 * time.Second) fmt.Println("Awake!") } }