opentdf / platform

OpenTDF Platform monorepo enabling the development and integration of _forever control_ of data into new and existing applications. The concept of forever control stems from an increasingly common concept known as zero trust.
BSD 3-Clause Clear License
15 stars 4 forks source link

`CreateNanoTDF` not using functional options #1042

Open strantalis opened 5 days ago

strantalis commented 5 days ago

Originally when we designed CreateTDF we decided to leverage the functional options pattern. For consistency we need to follow that patter with NanoTDF as well.

https://github.com/opentdf/platform/blob/7dea6407322b5e625ee2810dfcf407c010d9996f/sdk/nanotdf.go#L660