forked from massivebox/ecodash
Update
This commit is contained in:
parent
f68e3d4098
commit
45ad55a648
|
@ -17,6 +17,7 @@ pipeline:
|
|||
image: golang
|
||||
commands:
|
||||
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
|
||||
- go mod tidy
|
||||
- golangci-lint run
|
||||
- go build -o ecodash-x86 src/main/main.go
|
||||
- env GOOS=linux GOARCH=arm go build -o ecodash-arm src/main/main.go
|
||||
|
|
|
@ -11,8 +11,7 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/gofiber/fiber/v2"
|
||||
|
||||
// Needed to use sqlite3 databases
|
||||
// Needed to use sqlite3 databases.
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
)
|
||||
|
||||
|
|
|
@ -6,12 +6,11 @@ import (
|
|||
"os"
|
||||
"time"
|
||||
|
||||
"git.massivebox.net/ecodash/ecodash/src/ecodash"
|
||||
"git.massivebox.net/ecodash/ecodash/src/tools"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"github.com/gofiber/template/html"
|
||||
"github.com/robfig/cron/v3"
|
||||
|
||||
"git.massivebox.net/ecodash/ecodash/src/ecodash"
|
||||
"git.massivebox.net/ecodash/ecodash/src/tools"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
Loading…
Reference in a new issue