Batch upsert in a transactional manner


as I am strolling through the documentation I cannot find anything on how to batch upsert records in Mongo that either succeeds or fails (transaction style).
Any clues?
BTW the Go documentation is non existing. You cannot find simple things like type mapping between Go and Mongo…