Skip to content

Failed compilation due to errors #3

@CompuRoot

Description

@CompuRoot
  • Compile:
    • env CGO_ENABLED=1 GOOS=linux GOARCH=amd64 \
        go build -v -trimpath -a --ldflags "-s -w" ./main.go
      

Result

./main.go:358:7: w.Bins undefined (type *loader.WidgetConfig has no field or method Bins)
./main.go:359:12: w.Bins undefined (type *loader.WidgetConfig has no field or method Bins)
./main.go:369:7: w.Threshold undefined (type *loader.WidgetConfig has no field or method Threshold)
./main.go:370:17: w.Threshold undefined (type *loader.WidgetConfig has no field or method Threshold)
./main.go:374:7: w.AlertColor undefined (type *loader.WidgetConfig has no field or method AlertColor)
./main.go:375:35: w.AlertColor undefined (type *loader.WidgetConfig has no field or method AlertColor)
./main.go:598:35: undefined: gauge.Label

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions