mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
chron: 移动到cmd
This commit is contained in:
parent
0f68dadc9a
commit
d68da1f65f
@ -1,6 +1,6 @@
|
|||||||
package client
|
package client
|
||||||
|
|
||||||
//go:generate go run c2c_switcher.go
|
//go:generate go run cmd/c2c_switcher.go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
//go:build ignore
|
|
||||||
// +build ignore
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@ -109,8 +106,8 @@ func main() {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
source, _ := format.Source(buffer.Bytes())
|
source, _ := format.Source(buffer.Bytes())
|
||||||
f.Write(source)
|
_, _ = f.Write(source)
|
||||||
f.Close()
|
_ = f.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
func mustParseInt(s string) int64 {
|
func mustParseInt(s string) int64 {
|
Loading…
x
Reference in New Issue
Block a user