Skip to content

Commit

Permalink
Seed random at plugin start.
Browse files Browse the repository at this point in the history
  • Loading branch information
cube2222 committed Dec 12, 2021
1 parent f8625af commit 91a931c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
package main

import (
"math/rand"
"time"

"github.com/cube2222/octosql/plugins/plugin"
)

func main() {
rand.Seed(time.Now().UnixNano())
plugin.Run(Creator)
}

0 comments on commit 91a931c

Please sign in to comment.