Problem with go test

Notice to my future self: in case your packages have problems with go test and things like:

> github.com/go-xorm/core
>    dh_auto_test -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/go-xorm/core
> flag provided but not defined: -test.testlogfile

appear, please have a look at this issue on github.

Something broke in golang 1.13 and can be fixed by adding:

var _ = func() bool {
       testing.Init()
       return true
}()

to your tests.