We’ve developed Govip as we needed to do something similar to what git commit -c does. It just receives a Reader and executes an editor to modify that content.
More information can be found in the readme file here: https://github.com/mantika/govipe
Comments and suggestions are always welcome!.