docs: Change docs about go-bindata into rakyll/statik (#840)

go-bindata is not appropriate because no longer maintained.
This commit is contained in:
eihigh 2019-04-11 17:39:45 +09:00 committed by Hajime Hoshi
parent db689f4e50
commit 06edbffa79

View File

@ -32,7 +32,7 @@ import (
// How to solve path depends on your environment. This varies on your desktop or web browser.
// Note that this doesn't work on mobiles.
//
// For productions, instead of using NewImageFromFile, it is safer to embed your resources, e.g., with github.com/jteeuwen/go-bindata .
// For productions, instead of using NewImageFromFile, it is safer to embed your resources, e.g., with github.com/rakyll/statik .
func NewImageFromFile(path string, filter ebiten.Filter) (*ebiten.Image, image.Image, error) {
file, err := OpenFile(path)
if err != nil {