Skip to content

Commit 14436f5

Browse files
committed
remove the deprecated function
1 parent 643150b commit 14436f5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

bw/main.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ package main
22

33
import (
44
"fmt"
5-
"math/rand"
65
"os"
7-
"time"
86

97
"github.com/TimothyYe/bing-wallpaper/cmd/run"
108

@@ -31,8 +29,6 @@ func init() {
3129
}
3230

3331
func main() {
34-
rand.Seed(time.Now().UnixNano())
35-
3632
if err := rootCmd.Execute(); err != nil {
3733
fmt.Println(err)
3834
os.Exit(1)

0 commit comments

Comments
 (0)