mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
chron: 移动到cmd
This commit is contained in:
parent
0f68dadc9a
commit
d68da1f65f
@ -1,6 +1,6 @@
|
||||
package client
|
||||
|
||||
//go:generate go run c2c_switcher.go
|
||||
//go:generate go run cmd/c2c_switcher.go
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
@ -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 {
|
Loading…
x
Reference in New Issue
Block a user