owncast/pkged.go
Gabe Kangas f0bd7d2528
Replace pkger with go:embed for bundling the admin. Closes #844 (#1464)
* Replace pkger with go:embed for bundling the admin. Closes #844

* Remove references to pkged.go

* Point tests to use an updated version of Go

* Add comment to new exported function

* Cleanup

* Add a dummy pkged.go to alert people to stop using it.

* Add simple browser test to make sure the admin is available and renders

* Don't panic
2021-10-11 14:56:00 -07:00

9 lines
241 B
Go

package main
import (
log "github.com/sirupsen/logrus"
)
func init() {
log.Warnln("Explicitly building with pkged.go is no longer required and the file will be removed in the future. See https://github.com/owncast/owncast/pull/1464.")
}