top

*

* This is the example code demonstrate transaction about transfer money between accounts in system.
* Test condition: the total balance of all users before and after transfer should have the same amount.

Imports 2 package(s) ΒΆ

  1. gopkg.in/mgo.v2
  2. gopkg.in/mgo.v2/bson