It's not who you are underneath, it's what you do that defines you

Brick walls are there for a reason :they let us prove how badly we want things

解决xorm逆向mssql报datetime2不兼容的异常错误

xorm作为golang开发者的一大利器,深受大家的喜爱,可是最近在逆向mssql的时候,报了这么一个错误:

最后找了半天发现xorm没有预置DateTime2类型,经过几番折腾,在xorm源码的engine.go中增加了这么一个类型,终于搞定了这种蛋疼的问题,看结果:

好了,写下来记录一下。遇到同样问题的同学,可以直接赋值xorm.exe到bin/文件下替换原来的文件

https://pan.baidu.com/s/1gfeY6kj   密码:pezu

 

posted @ 2017-12-14 16:54  gbat  阅读(547)  评论(0编辑  收藏  举报

It's not who you are underneath, it's what you do that defines you

Brick walls are there for a reason :they let us prove how badly we want things