package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Aug 29, 2023
License: MPL-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Strip(fields []string, data interface{}) (interface{}, error)
Strip mutates the input data by removing all the required fields.
Check out the strip_test.go test cases for examples of the accepted format
for each field.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.