From c0e12450df7e196353259de7f62b0faa33201a42 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 25 May 2021 21:28:00 +0900 Subject: [PATCH] ebitenutil: Update the doc --- ebitenutil/loadimage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebitenutil/loadimage.go b/ebitenutil/loadimage.go index 3f2f0648a..dbff0d4c1 100644 --- a/ebitenutil/loadimage.go +++ b/ebitenutil/loadimage.go @@ -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/rakyll/statik . +// For productions, instead of using NewImageFromFile, it is safer to embed your resources with go:embed. func NewImageFromFile(path string) (*ebiten.Image, image.Image, error) { file, err := OpenFile(path) if err != nil {