combine all code into a single binary

This commit is contained in:
cuu
2018-12-08 22:43:20 +08:00
parent 1826b16bee
commit 6ef7260d1f
9 changed files with 190 additions and 141 deletions

View File

@@ -1,5 +1,9 @@
package main
/*
* Creating functionality in this way is not recommended
* cause every .so file is about the size of an executable file(like main)
* Referring to the Settings code, write all the functions directly into main
*/
import (
"github.com/veandco/go-sdl2/ttf"