💩👌 make lint happy

This commit is contained in:
fumiama
2021-08-06 17:44:48 +08:00
parent e477e0b452
commit ce406d8f55
10 changed files with 66 additions and 57 deletions

View File

@@ -33,7 +33,7 @@ func init() {
})
}
//开启服务器的api请求
// 开启服务器的api请求
func start(name string) string {
url := fmt.Sprintf("http://your.addr:23333/api/start_server/%s/?apikey=apikey", name)
client := &http.Client{}
@@ -54,7 +54,7 @@ func start(name string) string {
return string(body)
}
//关闭服务器的api请求
// 关闭服务器的api请求
func stop(name string) string {
url := fmt.Sprintf("http://your.addr:23333/api/stop_server/%s/?apikey=apikey", name)
client := &http.Client{}