mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
gofmt
This commit is contained in:
parent
fad478ebe6
commit
5d31d95915
1 changed files with 4 additions and 4 deletions
8
main.go
8
main.go
|
@ -40,11 +40,11 @@ func main() {
|
|||
wg.Add(1)
|
||||
|
||||
client := updater.Client{
|
||||
GitHub: config.GH_Repo,
|
||||
GitHub: config.GH_Repo,
|
||||
GitHubToken: config.GH_Token,
|
||||
CheckEvery: config.Toml.AutoUpdate.Check * time.Minute,
|
||||
Version: config.Version,
|
||||
Binary: "pingbot.out",
|
||||
CheckEvery: config.Toml.AutoUpdate.Check * time.Minute,
|
||||
Version: config.Version,
|
||||
Binary: "pingbot.out",
|
||||
AfterUpdate: func() {
|
||||
log.Info("Updated!")
|
||||
|
||||
|
|
Loading…
Reference in a new issue