v3.0.0-alpha - add debug.

This commit is contained in:
MickMake 2022-11-28 22:27:18 +11:00
parent 188aa0fde7
commit b6bd802fa3
1051 changed files with 11421 additions and 3406 deletions

View File

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="GoMixedReceiverTypes" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
</profile>
</component>

2375
.idea/workspace.xml generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +0,0 @@
package Only
const Once = "1"
var Twice = []int{0, 1}
var Thrice = []int{0, 1, 2}

View File

@ -9,6 +9,8 @@ Note: I'm currently going through a big refactor. The next major release, (v3.0.
[Latest releases here](https://github.com/MickMake/GoSungrow/releases)
[![Go Reference](https://pkg.go.dev/badge/github.com/MickMake/GoSungrow.svg)](https://pkg.go.dev/github.com/MickMake/GoSungrow)
## What is it?

View File

@ -1,11 +1,12 @@
package cmd
import (
"GoSungrow/Only"
"GoSungrow/iSolarCloud"
"GoSungrow/iSolarCloud/AppService/login"
"GoSungrow/iSolarCloud/api/GoStruct/output"
"errors"
"fmt"
"github.com/MickMake/GoUnify/Only"
"github.com/MickMake/GoUnify/cmdConfig"
"github.com/MickMake/GoUnify/cmdHelp"
"github.com/spf13/cobra"
@ -137,7 +138,15 @@ func (c *CmdApi) AttachCommand(cmd *cobra.Command) *cobra.Command {
}
return nil
},
Run: c.CmdApiLogin,
RunE: func(cmd *cobra.Command, args []string) error {
c.Error = c.ApiLogin(true)
if c.Error != nil {
return c.Error
}
c.SunGrow.Auth.Print()
return nil
},
Args: cobra.MinimumNArgs(0),
}
cmdApi.AddCommand(cmdApiLogin)
@ -230,6 +239,35 @@ func (c *CmdApi) AttachCommand(cmd *cobra.Command) *cobra.Command {
cmdApi.AddCommand(cmdApiSave)
cmdApiSave.Example = cmdHelp.PrintExamples(cmdApiSave, "[area].<endpoint>")
// ******************************************************************************** //
var cmdApiStruct = &cobra.Command{
Use: output.StringTypeStruct,
Aliases: []string{},
Short: fmt.Sprintf("Show response as Go structure (debug)"),
Long: fmt.Sprintf("Show response as Go structure (debug)"),
DisableFlagParsing: false,
DisableFlagsInUseLine: false,
PreRunE: func(cmd *cobra.Command, args []string) error {
cmds.Error = cmds.ProcessArgs(cmd, args)
if cmds.Error != nil {
return cmds.Error
}
cmds.Error = cmds.SunGrowArgs(cmd, args)
if cmds.Error != nil {
return cmds.Error
}
return nil
},
RunE: func(cmd *cobra.Command, args []string) error {
// c.SunGrow.SaveAsFile = true
c.SunGrow.OutputType.SetStruct()
return c.CmdApiGet(cmd, args)
},
Args: cobra.MinimumNArgs(1),
}
cmdApi.AddCommand(cmdApiStruct)
cmdApiStruct.Example = cmdHelp.PrintExamples(cmdApiStruct, "[area].<endpoint>")
// ******************************************************************************** //
var cmdApiPut = &cobra.Command{
Use: "put",
@ -303,13 +341,7 @@ func (ca *Cmds) SunGrowArgs(_ *cobra.Command, _ []string) error {
ca.Api.AppKey = defaultApiAppKey
}
ca.Error = ca.Api.SunGrow.Login(login.SunGrowAuth{
AppKey: ca.Api.AppKey,
UserAccount: ca.Api.Username,
UserPassword: ca.Api.Password,
TokenFile: ca.Api.ApiTokenFile,
Force: false,
})
ca.Error = ca.Api.ApiLogin(false)
if ca.Error != nil {
break
}
@ -317,23 +349,6 @@ func (ca *Cmds) SunGrowArgs(_ *cobra.Command, _ []string) error {
if ca.Debug {
ca.Api.SunGrow.Auth.Print()
}
if ca.Api.SunGrow.HasTokenChanged() {
ca.Api.LastLogin = ca.Api.SunGrow.GetLastLogin()
ca.Api.ApiToken = ca.Api.SunGrow.GetToken()
ca.Error = cmds.Unify.WriteConfig()
}
// if Cmd.GoogleSheetUpdate {
// SunGrow.OutputType = iSolarCloud.TypeGoogle
// }
// Git.Error = Cmd.GitSet()
// if Cmd.Error != nil {
// break
// }
//
// ca.Valid = true
}
return ca.Error
@ -378,29 +393,6 @@ func (c *CmdApi) CmdApiList(cmd *cobra.Command, args []string) {
}
}
func (c *CmdApi) CmdApiLogin(_ *cobra.Command, _ []string) {
for range Only.Once {
c.Error = c.SunGrow.Login(login.SunGrowAuth{
AppKey: c.AppKey,
UserAccount: c.Username,
UserPassword: c.Password,
TokenFile: c.ApiTokenFile,
Force: true,
})
if c.Error != nil {
break
}
c.SunGrow.Auth.Print()
if c.SunGrow.HasTokenChanged() {
c.LastLogin = c.SunGrow.GetLastLogin()
c.ApiToken = c.SunGrow.GetToken()
c.Error = cmds.Unify.WriteConfig()
}
}
}
func (c *CmdApi) CmdApiGet(_ *cobra.Command, args []string) error {
for range Only.Once {
args = cmdConfig.FillArray(2, args)
@ -438,3 +430,36 @@ func (c *CmdApi) CmdApiPut(_ *cobra.Command, _ []string) {
// }
}
}
func (c *CmdApi) ApiLogin(force bool) error {
for range Only.Once {
if c.SunGrow == nil {
c.Error = errors.New("sungrow instance not configured")
break
}
auth := login.SunGrowAuth {
AppKey: c.AppKey,
UserAccount: c.Username,
UserPassword: c.Password,
TokenFile: c.ApiTokenFile,
Force: force,
}
c.Error = c.SunGrow.Login(auth)
if c.Error != nil {
break
}
if c.SunGrow.HasTokenChanged() {
c.LastLogin = c.SunGrow.GetLastLogin()
c.ApiToken = c.SunGrow.GetToken()
sf := cmds.Api.SaveFile
cmds.Api.SaveFile = false // We don't want to lock this in the config.
c.Error = cmds.Unify.WriteConfig()
cmds.Api.SaveFile = sf
}
}
return c.Error
}

View File

@ -1,10 +1,10 @@
package cmd
import (
"GoSungrow/Only"
"GoSungrow/iSolarCloud"
"GoSungrow/iSolarCloud/api/GoStruct/output"
"fmt"
"github.com/MickMake/GoUnify/Only"
"github.com/MickMake/GoUnify/cmdConfig"
"github.com/MickMake/GoUnify/cmdHelp"
"github.com/spf13/cobra"
@ -218,6 +218,32 @@ func (c *CmdData) AttachCommand(cmd *cobra.Command) *cobra.Command {
}
c.SelfCmd.AddCommand(cmdDataGraph)
cmdDataGraph.Example = cmdHelp.PrintExamples(cmdDataGraph, "queryDeviceList", "WebAppService.showPSView", "stats")
// ******************************************************************************** //
var cmdApiStruct = &cobra.Command{
Use: output.StringTypeStruct + " <[area.]endpoint> [endpoint args ...]",
Aliases: []string{},
Annotations: map[string]string{"group": "Data"},
Short: fmt.Sprintf("Show response as Go structure (debug)"),
Long: fmt.Sprintf("Show response as Go structure (debug)"),
DisableFlagParsing: false,
DisableFlagsInUseLine: false,
PreRunE: func(cmd *cobra.Command, args []string) error {
cmds.Error = cmds.ProcessArgs(cmd, args)
if cmds.Error != nil {
return cmds.Error
}
cmds.Error = cmds.SunGrowArgs(cmd, args)
if cmds.Error != nil {
return cmds.Error
}
return nil
},
RunE: c.GetEndpoints,
Args: cobra.MinimumNArgs(0),
}
c.SelfCmd.AddCommand(cmdApiStruct)
cmdApiStruct.Example = cmdHelp.PrintExamples(cmdApiStruct, "queryDeviceList", "WebAppService.showPSView")
}
return c.SelfCmd
}

View File

@ -1,11 +1,11 @@
package cmd
import (
"GoSungrow/Only"
"GoSungrow/iSolarCloud/api"
"GoSungrow/mmHa"
"errors"
"fmt"
"github.com/MickMake/GoUnify/Only"
"github.com/MickMake/GoUnify/cmdHelp"
"github.com/MickMake/GoUnify/cmdLog"
"github.com/go-co-op/gocron"
@ -34,7 +34,7 @@ type CmdMqtt struct {
MqttHost string
MqttPort string
Mqtt *mmHa.Mqtt
Client *mmHa.Mqtt
// SunGrow *iSolarCloud.SunGrow
}
@ -150,10 +150,10 @@ func (c *CmdMqtt) AttachFlags(cmd *cobra.Command, viper *viper.Viper) {
}
}
func (ca *Cmds) MqttArgs(cmd *cobra.Command, args []string) error {
func (ca *Cmds) MqttArgs(_ *cobra.Command, _ []string) error {
for range Only.Once {
cmdLog.LogPrintDate("Connecting to MQTT HASSIO Service...\n")
ca.Mqtt.Mqtt = mmHa.New(mmHa.Mqtt {
ca.Mqtt.Client = mmHa.New(mmHa.Mqtt {
ClientId: "GoSungrow",
EntityPrefix: "GoSungrow",
Username: ca.Mqtt.MqttUsername,
@ -161,22 +161,22 @@ func (ca *Cmds) MqttArgs(cmd *cobra.Command, args []string) error {
Host: ca.Mqtt.MqttHost,
Port: ca.Mqtt.MqttPort,
})
ca.Error = ca.Mqtt.Mqtt.GetError()
ca.Error = ca.Mqtt.Client.GetError()
if ca.Error != nil {
break
}
cmdLog.LogPrintDate("Connecting to SunGrow...\n")
ca.Mqtt.Mqtt.SungrowDevices, ca.Error = ca.Api.SunGrow.GetDevices(true)
ca.Mqtt.Client.SungrowDevices, ca.Error = ca.Api.SunGrow.GetDevices(true)
if ca.Error != nil {
break
}
cmdLog.LogPrintDate("Found SunGrow %d devices\n", len(ca.Mqtt.Mqtt.SungrowDevices))
cmdLog.LogPrintDate("Found SunGrow %d devices\n", len(ca.Mqtt.Client.SungrowDevices))
ca.Mqtt.Mqtt.DeviceName = "GoSungrow"
ca.Error = ca.Mqtt.Mqtt.SetDeviceConfig(
ca.Mqtt.Mqtt.DeviceName,
ca.Mqtt.Mqtt.DeviceName,
ca.Mqtt.Client.DeviceName = "GoSungrow"
ca.Error = ca.Mqtt.Client.SetDeviceConfig(
ca.Mqtt.Client.DeviceName,
ca.Mqtt.Client.DeviceName,
"virtual",
"virtual",
"",
@ -187,9 +187,9 @@ func (ca *Cmds) MqttArgs(cmd *cobra.Command, args []string) error {
break
}
ca.Error = ca.Mqtt.Mqtt.SetDeviceConfig(
ca.Mqtt.Mqtt.DeviceName,
ca.Mqtt.Mqtt.DeviceName,
ca.Error = ca.Mqtt.Client.SetDeviceConfig(
ca.Mqtt.Client.DeviceName,
ca.Mqtt.Client.DeviceName,
"system",
"system",
"",
@ -200,13 +200,13 @@ func (ca *Cmds) MqttArgs(cmd *cobra.Command, args []string) error {
break
}
for _, psId := range ca.Mqtt.Mqtt.SungrowDevices {
for _, psId := range ca.Mqtt.Client.SungrowDevices {
// ca.Error = ca.Mqtt.Mqtt.SetDeviceConfig("GoSungrow", strconv.FormatInt(id, 10), "GoSungrow", model[0], "Sungrow", "Roof")
parent := psId.PsId.String()
if parent == psId.PsKey.Value() {
parent = ca.Mqtt.Mqtt.DeviceName
parent = ca.Mqtt.Client.DeviceName
}
ca.Error = ca.Mqtt.Mqtt.SetDeviceConfig(
ca.Error = ca.Mqtt.Client.SetDeviceConfig(
"GoSungrow",
parent,
psId.PsKey.Value(),
@ -218,10 +218,10 @@ func (ca *Cmds) MqttArgs(cmd *cobra.Command, args []string) error {
if ca.Error != nil {
break
}
ca.Mqtt.Mqtt.SungrowPsIds[psId.PsId] = true
ca.Mqtt.Client.SungrowPsIds[psId.PsId] = true
}
ca.Error = ca.Mqtt.Mqtt.Connect()
ca.Error = ca.Mqtt.Client.Connect()
if ca.Error != nil {
break
}
@ -343,36 +343,48 @@ func (ca *Cmds) MqttCron() error {
break
}
if ca.Mqtt.Mqtt.IsFirstRun() {
ca.Mqtt.Mqtt.UnsetFirstRun()
if ca.Mqtt.Client.IsFirstRun() {
ca.Mqtt.Client.UnsetFirstRun()
} else {
time.Sleep(time.Second * 40) // Takes up to 40 seconds for data to come in.
}
newDay := false
if ca.Mqtt.Mqtt.IsNewDay() {
if ca.Mqtt.Client.IsNewDay() {
newDay = true
}
data := ca.Api.SunGrow.NewSunGrowData()
data.SetPsIds()
if data.Error != nil {
ca.Error = data.Error
break
}
// All := []string{ "queryDeviceList", "getPsList", "getPsDetailWithPsType", "getPsDetail" }
All := []string{ "queryDeviceList" }
// All := []string{ "queryDeviceList", "WebIscmAppService.queryDeviceListForBackSys", "WebIscmAppService.getDeviceModel" }
All := []string{ "WebIscmAppService.getDeviceModel" }
data.SetEndpoints(All...)
ca.Error = data.GetData()
if ca.Error != nil {
break
}
// results := data.GetResults()
for _, result := range data.GetResults() {
ca.Error = result.ProcessMapForMqtt()
if ca.Error != nil {
continue
}
ca.Error = ca.Update(string(result.EndPointName), result.Response.Data, newDay)
if ca.Error != nil {
break
}
}
ca.Mqtt.Mqtt.LastRefresh = time.Now()
ca.Mqtt.Client.LastRefresh = time.Now()
}
if ca.Error != nil {
@ -389,12 +401,12 @@ func (ca *Cmds) Update(endpoint string, data api.DataMap, newDay bool) error {
for o := range data.Map {
entries := data.Map[o]
r := entries.GetEntry(api.LastEntry) // Gets the last entry
if !r.Point.Valid {
fmt.Printf("\nInvalid: %v\n", r)
continue
if strings.Contains(r.Current.FieldPath.String(), "AllFactoryList") {
fmt.Printf("")
}
fullId := r.FullId()
fullId := r.EndPoint
if r.Point.GroupName == "alias" {
fullId = mmHa.JoinStringsForId(r.Parent.Key, r.Point.Parents.Index[0], r.Point.Id.String())
}
@ -421,29 +433,38 @@ func (ca *Cmds) Update(endpoint string, data api.DataMap, newDay bool) error {
// LastResetValueTemplate: "",
}
if strings.Contains(fullId, "device_type_count") {
fmt.Printf("")
if !r.Point.Valid {
cmdLog.LogPrintDate("[%s] - invalid value - %s ...\n", r.Current.FieldPath.String(), r.Value.String()[:80])
// re.Value = r.Value.String()
// // var mapIt map[string]string
// // ca.Error = json.Unmarshal([]byte(r.Value.String()), &mapIt)
// // if ca.Error != nil {
// // continue
// // }
// re.ValueTemplate = ""
continue
}
if newDay {
fmt.Printf("C")
ca.Error = ca.Mqtt.Mqtt.BinarySensorPublishConfig(re)
ca.Error = ca.Mqtt.Client.BinarySensorPublishConfig(re)
if ca.Error != nil {
break
}
ca.Error = ca.Mqtt.Mqtt.SensorPublishConfig(re)
ca.Error = ca.Mqtt.Client.SensorPublishConfig(re)
if ca.Error != nil {
break
}
}
fmt.Printf("U")
ca.Error = ca.Mqtt.Mqtt.BinarySensorPublishValue(re)
ca.Error = ca.Mqtt.Client.BinarySensorPublishValue(re)
if ca.Error != nil {
break
}
ca.Error = ca.Mqtt.Mqtt.SensorPublishValue(re)
ca.Error = ca.Mqtt.Client.SensorPublishValue(re)
if ca.Error != nil {
break
}

View File

@ -1,7 +1,7 @@
package cmd
import (
"GoSungrow/Only"
"github.com/MickMake/GoUnify/Only"
"GoSungrow/defaults"
"github.com/MickMake/GoUnify/Unify"
"github.com/spf13/cobra"

87
go.mod
View File

@ -1,66 +1,70 @@
module GoSungrow
go 1.18
go 1.19
replace github.com/MickMake/GoUnify => ../../GoUnify
//replace github.com/MickMake/GoUnify => ../../GoUnify
//replace github.com/MickMake/GoUnify/cmdConfig v0.0.0-00010101000000-000000000000 => github.com/MickMake/GoUnify/cmdConfig v0.0.0-20220923023100-6cf4e624a412
replace github.com/MickMake/GoUnify/cmdConfig => ../../GoUnify/cmdConfig
//replace github.com/MickMake/GoUnify/cmdConfig => ../../GoUnify/cmdConfig
//replace github.com/MickMake/GoUnify/cmdLog v0.0.0-00010101000000-000000000000 => github.com/MickMake/GoUnify/cmdLog v0.0.0-20220923023100-6cf4e624a412
replace github.com/MickMake/GoUnify/cmdLog => ../../GoUnify/cmdLog
//replace github.com/MickMake/GoUnify/cmdLog => ../../GoUnify/cmdLog
//replace github.com/MickMake/GoUnify/cmdHelp v0.0.0-00010101000000-000000000000 => github.com/MickMake/GoUnify/cmdHelp v0.0.0-20220923023100-6cf4e624a412
replace github.com/MickMake/GoUnify/cmdHelp => ../../GoUnify/cmdHelp
//replace github.com/MickMake/GoUnify/cmdHelp => ../../GoUnify/cmdHelp
//replace github.com/MickMake/GoUnify/Unify v0.0.0-00010101000000-000000000000 => github.com/MickMake/GoUnify/Unify v0.0.0-20220923023100-6cf4e624a412
replace github.com/MickMake/GoUnify/Unify => ../../GoUnify/Unify
//replace github.com/MickMake/GoUnify/Unify => ../../GoUnify/Unify
//replace github.com/MickMake/GoUnify/Only v0.0.0-00010101000000-000000000000 => github.com/MickMake/GoUnify/Only v0.0.0-20220923023100-6cf4e624a412
replace github.com/MickMake/GoUnify/Only => ../../GoUnify/Only
//replace github.com/MickMake/GoUnify/Only => ../../GoUnify/Only
//replace github.com/MickMake/GoUnify/cmdCron v0.0.0-00010101000000-000000000000 => github.com/MickMake/GoUnify/cmdCron v0.0.0-20220923023100-6cf4e624a412
replace github.com/MickMake/GoUnify/cmdCron => ../../GoUnify/cmdCron
//replace github.com/MickMake/GoUnify/cmdCron => ../../GoUnify/cmdCron
//replace github.com/MickMake/GoUnify/cmdDaemon v0.0.0-00010101000000-000000000000 => github.com/MickMake/GoUnify/cmdDaemon v0.0.0-20220923023100-6cf4e624a412
replace github.com/MickMake/GoUnify/cmdDaemon => ../../GoUnify/cmdDaemon
//replace github.com/MickMake/GoUnify/cmdDaemon => ../../GoUnify/cmdDaemon
//replace github.com/MickMake/GoUnify/cmdShell v0.0.0-00010101000000-000000000000 => github.com/MickMake/GoUnify/cmdShell v0.0.0-20220923023100-6cf4e624a412
replace github.com/MickMake/GoUnify/cmdShell => ../../GoUnify/cmdShell
//replace github.com/MickMake/GoUnify/cmdShell => ../../GoUnify/cmdShell
//replace github.com/MickMake/GoUnify/cmdVersion v0.0.0-00010101000000-000000000000 => github.com/MickMake/GoUnify/cmdVersion v0.0.0-20220923023100-6cf4e624a412
replace github.com/MickMake/GoUnify/cmdVersion => ../../GoUnify/cmdVersion
//replace github.com/MickMake/GoUnify/cmdVersion => ../../GoUnify/cmdVersion
//replace github.com/MickMake/GoUnify/cmdExec v0.0.0-00010101000000-000000000000 => github.com/MickMake/GoUnify/cmdExec v0.0.0-20220923023100-6cf4e624a412
replace github.com/MickMake/GoUnify/cmdExec => ../../GoUnify/cmdExec
//replace github.com/MickMake/GoUnify/cmdExec => ../../GoUnify/cmdExec
replace github.com/MickMake/GoUnify/cmdPath => ../../GoUnify/cmdPath
//replace github.com/MickMake/GoUnify/cmdPath => ../../GoUnify/cmdPath
//require github.com/MickMake/GoUnify/Only v0.0.0-20221125013232-022ba4a63055 // indirect
require (
github.com/MickMake/GoUnify/Only v0.0.0-00010101000000-000000000000
github.com/MickMake/GoUnify/Unify v0.0.0-00010101000000-000000000000
github.com/MickMake/GoUnify/cmdConfig v0.0.0-00010101000000-000000000000
github.com/MickMake/GoUnify/cmdHelp v0.0.0-00010101000000-000000000000
github.com/MickMake/GoUnify/cmdLog v0.0.0-00010101000000-000000000000
github.com/MickMake/GoUnify/cmdPath v0.0.0-00010101000000-000000000000
github.com/MickMake/GoUnify/Only v0.0.0-20221125023651-ff4a37b1928a
github.com/MickMake/GoUnify/Unify v0.0.0-20221125023651-ff4a37b1928a
github.com/MickMake/GoUnify/cmdConfig v0.0.0-20221125023651-ff4a37b1928a
github.com/MickMake/GoUnify/cmdHelp v0.0.0-20221125023651-ff4a37b1928a
github.com/MickMake/GoUnify/cmdLog v0.0.0-20221125023651-ff4a37b1928a
github.com/MickMake/GoUnify/cmdPath v0.0.0-20221125023651-ff4a37b1928a
github.com/agrison/go-tablib v0.0.0-20160310143025-4930582c22ee
github.com/eclipse/paho.mqtt.golang v1.4.1
github.com/go-co-op/gocron v1.17.0
github.com/eclipse/paho.mqtt.golang v1.4.2
github.com/go-co-op/gocron v1.18.0
github.com/olekukonko/tablewriter v0.0.5
github.com/spf13/cobra v1.5.0
github.com/spf13/viper v1.13.0
github.com/spf13/cobra v1.6.1
github.com/spf13/viper v1.14.0
github.com/wcharczuk/go-chart/v2 v2.1.0
go.pennock.tech/tabular v1.1.3
gopkg.in/yaml.v2 v2.4.0
)
require (
github.com/MichaelMure/go-term-markdown v0.1.4 // indirect
github.com/MichaelMure/go-term-text v0.3.1 // indirect
github.com/MickMake/GoUnify/cmdCron v0.0.0-00010101000000-000000000000 // indirect
github.com/MickMake/GoUnify/cmdDaemon v0.0.0-00010101000000-000000000000 // indirect
github.com/MickMake/GoUnify/cmdExec v0.0.0-00010101000000-000000000000 // indirect
github.com/MickMake/GoUnify/cmdShell v0.0.0-00010101000000-000000000000 // indirect
github.com/MickMake/GoUnify/cmdVersion v0.0.0-00010101000000-000000000000 // indirect
github.com/MickMake/GoUnify/cmdCron v0.0.0-20221125020154-1b15b8d20735 // indirect
github.com/MickMake/GoUnify/cmdDaemon v0.0.0-20221125023651-ff4a37b1928a // indirect
github.com/MickMake/GoUnify/cmdExec v0.0.0-20221125015223-b8c165efd0ec // indirect
github.com/MickMake/GoUnify/cmdShell v0.0.0-20221125023651-ff4a37b1928a // indirect
github.com/MickMake/GoUnify/cmdVersion v0.0.0-20221125023651-ff4a37b1928a // indirect
github.com/abiosoft/ishell v2.0.0+incompatible // indirect
github.com/abiosoft/ishell/v2 v2.0.2 // indirect
github.com/abiosoft/readline v0.0.0-20180607040430-155bce2042db // indirect
github.com/agrison/mxj v0.0.0-20160310142625-1269f8afb3b4 // indirect
@ -76,7 +80,7 @@ require (
github.com/fatih/color v1.13.0 // indirect
github.com/fatih/structs v1.1.0 // indirect
github.com/flynn-archive/go-shlex v0.0.0-20150515145356-3f9db97f8568 // indirect
github.com/fsnotify/fsnotify v1.5.4 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/gomarkdown/markdown v0.0.0-20191123064959-2c17d62f5098 // indirect
@ -85,15 +89,15 @@ require (
github.com/gorilla/websocket v1.4.2 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.1 // indirect
github.com/ivanpirog/coloredcobra v1.0.1 // indirect
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
github.com/kyokomi/emoji/v2 v2.2.8 // indirect
github.com/logrusorgru/aurora v2.0.3+incompatible // indirect
github.com/lucasb-eyer/go-colorful v1.0.3 // indirect
github.com/magiconair/properties v1.8.6 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.16 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
@ -101,9 +105,8 @@ require (
github.com/rhysd/go-github-selfupdate v1.2.3 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/robfig/cron/v3 v3.0.1 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/sevlyar/go-daemon v0.1.6 // indirect
github.com/spf13/afero v1.8.2 // indirect
github.com/spf13/afero v1.9.2 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
@ -111,17 +114,15 @@ require (
github.com/tcnksm/go-gitconfig v0.1.2 // indirect
github.com/tealeg/xlsx v1.0.5 // indirect
github.com/ulikunitz/xz v0.5.9 // indirect
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
golang.org/x/image v0.0.0-20200927104501-e162460cd6b5 // indirect
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect
golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1 // indirect
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f // indirect
golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/net v0.0.0-20221014081412-f15817d10f9b // indirect
golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/sys v0.0.0-20220908164124-27713097b956 // indirect
golang.org/x/text v0.4.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

100
go.sum
View File

@ -42,7 +42,30 @@ github.com/MichaelMure/go-term-markdown v0.1.4 h1:Ir3kBXDUtOX7dEv0EaQV8CNPpH+T7A
github.com/MichaelMure/go-term-markdown v0.1.4/go.mod h1:EhcA3+pKYnlUsxYKBJ5Sn1cTQmmBMjeNlpV8nRb+JxA=
github.com/MichaelMure/go-term-text v0.3.1 h1:Kw9kZanyZWiCHOYu9v/8pWEgDQ6UVN9/ix2Vd2zzWf0=
github.com/MichaelMure/go-term-text v0.3.1/go.mod h1:QgVjAEDUnRMlzpS6ky5CGblux7ebeiLnuy9dAaFZu8o=
github.com/MickMake/GoUnify/Only v0.0.0-20221125023651-ff4a37b1928a h1:06PyTUKZzroh6SGM/euP7p2zEnrClLYgPKG1cE6Gy44=
github.com/MickMake/GoUnify/Only v0.0.0-20221125023651-ff4a37b1928a/go.mod h1:nWPKx2WToUZSeDhH7VRyOLdwCK+IfRXdQoaEmKK9Gok=
github.com/MickMake/GoUnify/Unify v0.0.0-20221125023651-ff4a37b1928a h1:da4I5wGx7YsaaeB1O1hxc5EbJbXTe9idulZ5maEzkww=
github.com/MickMake/GoUnify/Unify v0.0.0-20221125023651-ff4a37b1928a/go.mod h1:rdxJ+GVDdmwBHTVPK2OLVf4djiM+4UJK0dRWrms5vlo=
github.com/MickMake/GoUnify/cmdConfig v0.0.0-20221125023651-ff4a37b1928a h1:is2EohUFfBsio17D+InUQx2g2/xPnLeCTi8+r3lMzKU=
github.com/MickMake/GoUnify/cmdConfig v0.0.0-20221125023651-ff4a37b1928a/go.mod h1:2ET24bW1l+usd5E6ScRXFvLiCe8M3N2arM9s1hdAStM=
github.com/MickMake/GoUnify/cmdCron v0.0.0-20221125020154-1b15b8d20735 h1:bE6Nhw5sHnuPH+WjD9oQuIFejeOqqkAszoXjmmT0t3k=
github.com/MickMake/GoUnify/cmdCron v0.0.0-20221125020154-1b15b8d20735/go.mod h1:Ea5YDZFppDdowm9XK8VNEytQl1Fkrm/3qTza05l86Vk=
github.com/MickMake/GoUnify/cmdDaemon v0.0.0-20221125023651-ff4a37b1928a h1:D68jNuC2RF8gyAweqR1ECFaRPiCKsGAnF36Vm/Cb75I=
github.com/MickMake/GoUnify/cmdDaemon v0.0.0-20221125023651-ff4a37b1928a/go.mod h1:shbeBYidSh8AN8T4NS0NhsRbwK7L7V62Qqj4kGQvsg4=
github.com/MickMake/GoUnify/cmdExec v0.0.0-20221125015223-b8c165efd0ec h1:gxEjCRI9b7aKdogs+SNm+QsA64Kk5NUV6ARsgmtOeuY=
github.com/MickMake/GoUnify/cmdExec v0.0.0-20221125015223-b8c165efd0ec/go.mod h1:9HHlADj6/uGuFJsUq3CKk+opviTCEAVhJOAgpwjQLqE=
github.com/MickMake/GoUnify/cmdHelp v0.0.0-20221125023651-ff4a37b1928a h1:tnmfyXtTF9V1W1ivOMOmgavvqECtCw0k12jBFuomfls=
github.com/MickMake/GoUnify/cmdHelp v0.0.0-20221125023651-ff4a37b1928a/go.mod h1:fxjVhJM7dERg/3CYLHlQZamRiGaeqhDYNPJHCcPtfdY=
github.com/MickMake/GoUnify/cmdLog v0.0.0-20221125023651-ff4a37b1928a h1:MAU4yxEpCZFTyLMTuoNMI6JJO8SpqCINwi6Az88tnMs=
github.com/MickMake/GoUnify/cmdLog v0.0.0-20221125023651-ff4a37b1928a/go.mod h1:jo6xIeo9kY4/Rcjc2qqSUiImlJ1xFtRe651wzypnBGw=
github.com/MickMake/GoUnify/cmdPath v0.0.0-20221125023651-ff4a37b1928a h1:hVVzyqueMxil1zm8pcMdbfacnczWQVM8WMV/cag2OZg=
github.com/MickMake/GoUnify/cmdPath v0.0.0-20221125023651-ff4a37b1928a/go.mod h1:32qHwF/WMFkNOToN6x2RS+/bceNX/v1s34azDL4bj1I=
github.com/MickMake/GoUnify/cmdShell v0.0.0-20221125023651-ff4a37b1928a h1:264qGAjU2Pcm2I9mHdpyx7IZMv0OJQrkIHf77dhYuOs=
github.com/MickMake/GoUnify/cmdShell v0.0.0-20221125023651-ff4a37b1928a/go.mod h1:d4IpcAbsDf4v0Y4wDkn/advpnEnvJLRQzvu3Cs6Z/ME=
github.com/MickMake/GoUnify/cmdVersion v0.0.0-20221125023651-ff4a37b1928a h1:u4OHZ29C2g9loS9ZJsNjTqycDQeZDnXwwS7FlRtXqS8=
github.com/MickMake/GoUnify/cmdVersion v0.0.0-20221125023651-ff4a37b1928a/go.mod h1:ZZzUesZN45YyJhxpd4wf2Z4z+oUZg1R8qrnoNPOAawA=
github.com/abiosoft/ishell v2.0.0+incompatible h1:zpwIuEHc37EzrsIYah3cpevrIc8Oma7oZPxr03tlmmw=
github.com/abiosoft/ishell v2.0.0+incompatible/go.mod h1:HQR9AqF2R3P4XXpMpI0NAzgHf/aS6+zVXRj14cVk9qg=
github.com/abiosoft/ishell/v2 v2.0.2 h1:5qVfGiQISaYM8TkbBl7RFO6MddABoXpATrsFbVI+SNo=
github.com/abiosoft/ishell/v2 v2.0.2/go.mod h1:E4oTCXfo6QjoCart0QYa5m9w4S+deXs/P/9jA77A9Bs=
github.com/abiosoft/readline v0.0.0-20180607040430-155bce2042db h1:CjPUSXOiYptLbTdr1RceuZgSFDQ7U15ITERUGrUORx8=
@ -89,8 +112,8 @@ github.com/disintegration/imaging v1.6.2 h1:w1LecBlG2Lnp8B3jk5zSuNqd7b4DXhcjwek1
github.com/disintegration/imaging v1.6.2/go.mod h1:44/5580QXChDfwIclfc/PCwrr44amcmDAg8hxG0Ewe4=
github.com/dlclark/regexp2 v1.1.6 h1:CqB4MjHw0MFCDj+PHHjiESmHX+N7t0tJzKvC6M97BRg=
github.com/dlclark/regexp2 v1.1.6/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc=
github.com/eclipse/paho.mqtt.golang v1.4.1 h1:tUSpviiL5G3P9SZZJPC4ZULZJsxQKXxfENpMvdbAXAI=
github.com/eclipse/paho.mqtt.golang v1.4.1/go.mod h1:JGt0RsEwEX+Xa/agj90YJ9d9DH2b7upDZMK9HRbFvCA=
github.com/eclipse/paho.mqtt.golang v1.4.2 h1:66wOzfUHSSI1zamx7jR6yMEI5EuHnT1G6rNA5PM12m4=
github.com/eclipse/paho.mqtt.golang v1.4.2/go.mod h1:JGt0RsEwEX+Xa/agj90YJ9d9DH2b7upDZMK9HRbFvCA=
github.com/eliukblau/pixterm/pkg/ansimage v0.0.0-20191210081756-9fb6cf8c2f75 h1:vbix8DDQ/rfatfFr/8cf/sJfIL69i4BcZfjrVOxsMqk=
github.com/eliukblau/pixterm/pkg/ansimage v0.0.0-20191210081756-9fb6cf8c2f75/go.mod h1:0gZuvTO1ikSA5LtTI6E13LEOdWQNjIo5MTQOvrV0eFg=
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
@ -110,10 +133,10 @@ github.com/flynn-archive/go-shlex v0.0.0-20150515145356-3f9db97f8568 h1:BMXYYRWT
github.com/flynn-archive/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:rZfgFAXFS/z/lEd6LJmf9HVZ1LkgYiHx5pHhV5DR16M=
github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI=
github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU=
github.com/go-co-op/gocron v1.17.0 h1:IixLXsti+Qo0wMvmn6Kmjp2csk2ykpkcL+EmHmST18w=
github.com/go-co-op/gocron v1.17.0/go.mod h1:IpDBSaJOVfFw7hXZuTag3SCSkqazXBBUkbQ1m1aesBs=
github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY=
github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw=
github.com/go-co-op/gocron v1.18.0 h1:SxTyJ5xnSN4byCq7b10LmmszFdxQlSQJod8s3gbnXxA=
github.com/go-co-op/gocron v1.18.0/go.mod h1:sD/a0Aadtw5CpflUJ/lpP9Vfdk979Wl1Sg33HPHg0FY=
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
@ -161,7 +184,7 @@ github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-github/v30 v30.1.0 h1:VLDx+UolQICEOKu2m4uAoMti1SxuEBAl7RSEG16L+Oo=
github.com/google/go-github/v30 v30.1.0/go.mod h1:n8jBpHl45a/rlBUtRJMOG4GhNADUQFEufcolZ95JfU8=
github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=
@ -195,8 +218,9 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf h1:WfD7VjIE6z8dIvMsI4/s+1qr5EL+zoIGev1BQj1eoJ8=
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf/go.mod h1:hyb9oH7vZsitZCiBt0ZvifOrB+qc8PS5IiilCIb87rg=
github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc=
github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/ivanpirog/coloredcobra v1.0.1 h1:aURSdEmlR90/tSiWS0dMjdwOvCVUeYLfltLfbgNxrN4=
github.com/ivanpirog/coloredcobra v1.0.1/go.mod h1:iho4nEKcnwZFiniGSdcgdvRgZNjxm+h20acv8vqmN6Q=
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
@ -206,7 +230,6 @@ github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0/go.mod h1:1NbS8ALr
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
@ -226,15 +249,14 @@ github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVc
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40=
github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y=
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ=
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk=
github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU=
@ -267,24 +289,23 @@ github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzG
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ=
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
github.com/sevlyar/go-daemon v0.1.6 h1:EUh1MDjEM4BI109Jign0EaknA2izkOyi0LV3ro3QQGs=
github.com/sevlyar/go-daemon v0.1.6/go.mod h1:6dJpPatBT9eUwM5VCw9Bt6CdX9Tk6UWvhW3MebLDRKE=
github.com/spf13/afero v1.8.2 h1:xehSyVa0YnHWsJ49JFljMpg1HX19V6NDZ1fkm1Xznbo=
github.com/spf13/afero v1.8.2/go.mod h1:CtAatgMJh6bJEIs48Ay/FOnkljP3WeGUG0MC1RfAqwo=
github.com/spf13/afero v1.9.2 h1:j49Hj62F0n+DaZ1dDCvhABaPNSGNkt32oRFxI33IEMw=
github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y=
github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w=
github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU=
github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g=
github.com/spf13/cobra v1.5.0 h1:X+jTBEBqF0bHN+9cSMgmfuvv2VHJ9ezmFNf9Y/XstYU=
github.com/spf13/cobra v1.5.0/go.mod h1:dWXEIy2H428czQCjInthrTRUg7yKbok+2Qi/yBIJoUM=
github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA=
github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY=
github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=
github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/viper v1.13.0 h1:BWSJ/M+f+3nmdz9bxB+bWX28kkALN2ok11D0rSo8EJU=
github.com/spf13/viper v1.13.0/go.mod h1:Icm2xNL3/8uyh/wFuB1jI7TiTNKp8632Nwegu+zgdYw=
github.com/spf13/viper v1.14.0 h1:Rg7d3Lo706X9tHsJMUjdiwMpHB7W8WnSVOssIY+JElU=
github.com/spf13/viper v1.14.0/go.mod h1:WT//axPky3FdvXHzGw33dNdXXXfFQqmEalje+egj8As=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
@ -293,8 +314,8 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
github.com/subosito/gotenv v1.4.1 h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs=
github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0=
github.com/tcnksm/go-gitconfig v0.1.2 h1:iiDhRitByXAEyjgBqsKi9QU4o2TNtv9kPP3RgPgXBPw=
@ -326,8 +347,8 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I=
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 h1:kUhD7nTDoI3fVd9G4ORWrbV5NY0liEs/Jg2pv5f+bBA=
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e h1:T8NU3HyQ8ClP4SEE+KbFlg6n0NhuTsN4MyznaarGsZM=
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
@ -399,8 +420,8 @@ golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwY
golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 h1:D0B/7al0LLrVC8aWF4+oxpv/m8bc7ViFfVS8/gXGdqI=
golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
golang.org/x/net v0.0.0-20221014081412-f15817d10f9b h1:tvrvnPFcdzp294diPnrdZZZ8XUt2Tyj7svb7X52iDuU=
golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20181106182150-f42d05182288/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@ -411,8 +432,8 @@ golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ
golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1 h1:lxqLZaMad/dJHMFZH0NiNpiEZI/nhgWhe4wgzpE+MuA=
golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg=
golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783 h1:nt+Q6cXKz4MosCSpnbMtqiQ8Oz0pxTef2B4Vca2lvfk=
golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@ -424,8 +445,8 @@ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f h1:Ax0t5p6N38Ga0dThY21weqDEyz2oklo4IvDkpigvkD8=
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181128092732-4ed8d59d0b35/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@ -466,10 +487,9 @@ golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec h1:BkDtF2Ih9xZ7le9ndzTA7KJow28VbQW3odyk/8drmuI=
golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220908164124-27713097b956 h1:XeJjHH1KiLpKGb6lvMiksZ9l0fVUh+AmGcm0nOMEBOY=
golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
@ -479,8 +499,8 @@ golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.4.0 h1:BrVqGRd7+k1DiOgtnFvAkoQEWQvBc25ouMJM6429SFg=
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
@ -627,13 +647,12 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw=
google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w=
google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=
@ -641,7 +660,6 @@ gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -4,15 +4,15 @@ import (
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/GoStruct"
"GoSungrow/iSolarCloud/api/GoStruct/valueTypes"
"github.com/MickMake/GoUnify/Only"
"fmt"
"github.com/MickMake/GoUnify/Only"
)
const Url = "/devDataHandleService/addDeviceToStructureForHouseholdByPsIdS"
const Disabled = false
type RequestData struct {
}
}
func (rd RequestData) IsValid() error {
return GoStruct.VerifyOptionsRequired(rd)
@ -33,25 +33,6 @@ func (e *ResultData) IsValid() error {
return err
}
//type DecodeResultData ResultData
//
//func (e *ResultData) UnmarshalJSON(data []byte) error {
// var err error
//
// for range Only.Once {
// if len(data) == 0 {
// break
// }
// var pd DecodeResultData
//
// // Store ResultData
// _ = json.Unmarshal(data, &pd)
// e.Dummy = pd.Dummy
// }
//
// return err
//}
func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

View File

@ -390,3 +390,8 @@ func (e EndPoint) ResultDataRef() ResultData {
return e.Response.ResultData
}
// IsDebug - Are we in debug mode?
func (e EndPoint) IsDebug() bool {
return e.ApiIsDebug()
}

Some files were not shown because too many files have changed in this diff Show More