18 lines
307 B
Go
18 lines
307 B
Go
package main
|
|
|
|
import (
|
|
"time"
|
|
|
|
rtss_simulation "joylink.club/rtsssimulation"
|
|
"joylink.club/rtsssimulation/repository"
|
|
)
|
|
|
|
func main() {
|
|
sim := rtss_simulation.NewSimulation(&repository.Repository{})
|
|
sim.StartUp()
|
|
sim.SetSpeed(2)
|
|
time.Sleep(1 * time.Second)
|
|
sim.Close()
|
|
time.Sleep(2 * time.Second)
|
|
}
|