chore: upgrade to Go 1.20 (#5993)
This commit is contained in:
parent
e6f8939ee7
commit
60ebd9e585
13 changed files with 589 additions and 144 deletions
5
main.go
5
main.go
|
|
@ -5,8 +5,6 @@ import (
|
|||
"io"
|
||||
"io/fs"
|
||||
"log"
|
||||
"math/rand"
|
||||
"time"
|
||||
|
||||
"github.com/evcc-io/evcc/cmd"
|
||||
"github.com/evcc-io/evcc/server/assets"
|
||||
|
|
@ -23,9 +21,6 @@ var (
|
|||
|
||||
// init loads embedded assets unless live assets are already loaded
|
||||
func init() {
|
||||
// TODO remove this once Go 1.20 is out with it.
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
|
||||
if !assets.Live() {
|
||||
var err error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue