mirror of
https://github.com/MickMake/GoSungrow.git
synced 2025-03-21 15:21:52 +01:00
28 lines
302 B
Go
28 lines
302 B
Go
package main
|
|
|
|
import (
|
|
"GoSungrow/Only"
|
|
"GoSungrow/cmd"
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
|
|
// https://augateway.isolarcloud.com/v1/
|
|
|
|
|
|
func main() {
|
|
var err error
|
|
|
|
for range Only.Once {
|
|
err = cmd.Execute()
|
|
if err != nil {
|
|
break
|
|
}
|
|
}
|
|
|
|
if err != nil {
|
|
_, _ = fmt.Fprintf(os.Stderr, "ERROR: %s\n", err)
|
|
}
|
|
}
|