2019-03-25 01:39:01 +00:00
|
|
|
package main
|
2017-06-18 22:01:44 +00:00
|
|
|
|
|
|
|
import (
|
2020-04-10 13:12:18 +00:00
|
|
|
"github.com/pterodactyl/wings/cmd"
|
2022-07-04 21:36:03 +00:00
|
|
|
"math/rand"
|
|
|
|
"time"
|
2019-03-24 21:37:05 +00:00
|
|
|
)
|
2017-06-26 18:44:37 +00:00
|
|
|
|
2017-06-18 22:01:44 +00:00
|
|
|
func main() {
|
2022-07-04 21:36:03 +00:00
|
|
|
// Since we make use of the math/rand package in the code, especially for generating
|
|
|
|
// non-cryptographically secure random strings we need to seed the RNG. Just make use
|
|
|
|
// of the current time for this.
|
|
|
|
rand.Seed(time.Now().UnixNano())
|
|
|
|
|
|
|
|
// Execute the main binary code.
|
2020-04-10 13:12:18 +00:00
|
|
|
cmd.Execute()
|
2017-06-18 22:01:44 +00:00
|
|
|
}
|