1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

chron: 移动到cmd

This commit is contained in:
Lin 2021-10-27 10:09:21 +08:00
parent 0f68dadc9a
commit d68da1f65f
No known key found for this signature in database
GPG Key ID: 244C608766137C86
2 changed files with 3 additions and 6 deletions

View File

@ -1,6 +1,6 @@
package client
//go:generate go run c2c_switcher.go
//go:generate go run cmd/c2c_switcher.go
import (
"fmt"

View File

@ -1,6 +1,3 @@
//go:build ignore
// +build ignore
package main
import (
@ -109,8 +106,8 @@ func main() {
panic(err)
}
source, _ := format.Source(buffer.Bytes())
f.Write(source)
f.Close()
_, _ = f.Write(source)
_ = f.Close()
}
func mustParseInt(s string) int64 {