简体   繁体   中英

Testing strategy for Go with Mongodb

I am trying to get a project started in Go and MongoDb. I am stumped when trying to figure out the best way to unittest my database interactions.

通常,人们使用数据库模拟,请在此处阅读有关Java的相同答案。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM