GoSungrow/defaults/const.go

36 lines
1.0 KiB
Go
Raw Permalink Normal View History

2022-02-10 12:55:11 +11:00
package defaults
2022-10-07 23:12:47 +11:00
import _ "embed"
// Need to execute `go generate -v -x defaults/const.go` OR `go generate -v -x ./...`
//go:generate cp ../README.md README.md
//go:generate cp ../EXAMPLES.md EXAMPLES.md
2022-12-21 14:02:51 +11:00
// //go:generate cp ../CHANGELOG.md CHANGELOG.md
2022-10-07 23:12:47 +11:00
//go:embed README.md
var Readme string
//go:embed EXAMPLES.md
var Examples string
2022-12-21 14:02:51 +11:00
// //go:embed CHANGELOG.md
// var Changelog string
2022-10-07 23:12:47 +11:00
const (
Description = "GoSungrow - GoLang implementation to access the iSolarCloud API updated by SunGrow inverters"
BinaryName = "GoSungrow"
2022-12-23 18:16:54 +11:00
BinaryVersion = "3.0.3"
2022-10-07 23:12:47 +11:00
SourceRepo = "github.com/MickMake/" + BinaryName
BinaryRepo = "github.com/MickMake/" + BinaryName
EnvPrefix = "GOSUNGROW"
HelpSummary = `
# GoSungrow - GoLang implementation to access the iSolarCloud API updated by SunGrow inverters.
2022-12-21 14:02:51 +11:00
This GoLang package has a complete implementation of the iSolarCloud API.
2022-10-07 23:12:47 +11:00
There's been no published specs on this, so I've had to figure it all out based on the Android app, using javascript IDEs and various other means.
`
)