diff --git a/ebitenutil/internal/assets/assets.go b/ebitenutil/internal/assets/assets.go index e96cbd545..8efe8a0a0 100644 --- a/ebitenutil/internal/assets/assets.go +++ b/ebitenutil/internal/assets/assets.go @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:generate go-bindata -nocompress -pkg=assets text.png +//go:generate gofmt -s -w . + package assets import ( @@ -20,11 +23,6 @@ import ( _ "image/png" ) -const FileNameText = "text.png" - -//go:generate go-bindata -nocompress -pkg=assets text.png -//go:generate gofmt -s -w . - const ( TextImageWidth = 192 TextImageHeight = 128