README ¶ omit function omit() will remove any fields specified from the message and then send down the pipeline. It currently only works for top level fields (i.e. address.street would not work). configuration omit({"fields": ["name"]}) example message in { "_id": 0, "name": "transporter", "type": "function" } config omit({"fields":["type"]}) message out { "_id": 0, "name": "transporter" } Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files omitter.go Click to show internal directories. Click to hide internal directories.