type Data … // Mmap maps the given file into memory. // When remapping a file, pass the most recently returned Data. func Mmap(f *os.File) (*Data, error) { … } // Munmap unmaps the given file from memory. func Munmap(d *Data) error { … }
type Data … // Mmap maps the given file into memory. // When remapping a file, pass the most recently returned Data. func Mmap(f *os.File) (*Data, error) { … } // Munmap unmaps the given file from memory. func Munmap(d *Data) error { … }