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 package client
//go:generate go run c2c_switcher.go //go:generate go run cmd/c2c_switcher.go
import ( import (
"fmt" "fmt"

View File

@ -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 {