go-filesystems
Pure-Go filesystem drivers — read & write disk images, no cgo, no root.
go-filesystems is a set of dependency-free Go modules that read and write on-disk
filesystem images — one module per filesystem, all implementing the shared
filesystem.Filesystem contract. No cgo, no root.
Drivers

apfs
Apple File System.

btrfs
Copy-on-write Linux fs with snapshots and subvolumes.

exfat
Extended FAT for large media.

ext4
Linux ext4 — extents, 64-bit, journaling, metadata_csum.

fat32
FAT with 32-bit allocation.

ntfs
Windows NT filesystem.

uefi
EFI System Partition (FAT-based).

ufs
Unix File System (BSD).

xfs
High-performance journaling filesystem.

zfs
Copy-on-write pooled storage filesystem.