Skip to content

Commit

Permalink
updated sec vulns
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronSaikovski committed Mar 20, 2024
1 parent ce832a7 commit ecd4a4e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions cmd/gogoodwe/powerstation/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ import (
"github.com/AaronSaikovski/gogoodwe/cmd/gogoodwe/utils"
)

// FetchData fetches data based on user account credentials and power station ID, and can retrieve daily summary if specified.
// Parameters:
// Account string - user account
// Password string - account password
// PowerStationID string - ID of the power station
// DailySummary bool - whether to retrieve daily summary
// Return type:
// error
func FetchData(Account string, Password string, PowerStationID string, DailySummary bool) error {

// User account struct
Expand Down
1 change: 1 addition & 0 deletions cmd/gogoodwe/powerstation/monitordetails.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"github.com/AaronSaikovski/gogoodwe/cmd/gogoodwe/utils"
)


// func getMonitorDatav2[T interfaces.ISemsDataConstraint](LoginCredentials *types.LoginCredentials, LoginApiResponse *types.LoginResponse, InverterOutput *T) (T, error) {

// var someValue T
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/AaronSaikovski/gogoodwe

go 1.22.0
go 1.22.1

require (
github.com/alexflint/go-arg v1.4.3
Expand Down

0 comments on commit ecd4a4e

Please sign in to comment.