This repository has been archived by the owner on Aug 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8783ba8
commit 5320844
Showing
3 changed files
with
0 additions
and
171 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,20 +28,6 @@ func main() { | |
Description: "websocks.org", | ||
Author: "Halulu", | ||
Email: "[email protected]", | ||
Action: func(c *cli.Context) (err error) { | ||
app, err := client.LoadApp() | ||
if err != nil { | ||
log.Println("can not load client.json, create not one") | ||
app = client.NewApp() | ||
err = app.Save() | ||
if err != nil { | ||
log.Printf("save config: %s", err.Error()) | ||
} | ||
} | ||
|
||
err = app.Run() | ||
return | ||
}, | ||
Commands: []cli.Command{ | ||
{ | ||
Name: "client", | ||
|