From af53988a17e8295665db452cd2240e0655c64196 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 31 Jul 2016 22:02:56 +0900 Subject: [PATCH] ebitenutil: Refactoring --- ebitenutil/internal/assets/assets.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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