This is an implementation of the Oxford Common File Layout for Go. The module can be used in Go programs to support operations on OCFL storage roots and objects. It supports the local file system or s3 storage backends. Several complete example programs are included.
See ocfl-tools for command line tools based on this module.
Warning
The API is under heavy development and will have constant breaking changes.
Requires Go >= v1.23.