Skip to content

Incompatible with Golang 1.19 #2562

@AlaricWhitney

Description

@AlaricWhitney

Describe the Bug:
App does not pass checks or compile when using golang 1.19

Steps to Reproduce:

make check

Result:

devtools/gettool/fetchfile.go:6:2: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details.  (SA1019)
grafana/grafana.go:7:2: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details.  (SA1019)
notification/twilio/twiml_test.go:4:2: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details.  (SA1019)
smoketest/webhook_test.go:6:2: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details.  (SA1019)
exit status 1
make: *** [check] Error 1

Expected Behavior:
make check should work without errors

Observed Behavior:
make check fails

Screenshots/Stack Traces:
If applicable, add screenshots and/or stack traces to help explain your problem.

Application Version:
goalert master branch

Desktop:
NA

Smartphone/Tablet:
NA

Additional Context:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions