Categorygithub.com/ImSingee/mmap
modulepackage
1.3.0
Repository: https://github.com/imsingee/mmap.git
Documentation: pkg.go.dev

# README

mmap for Human

Go Reference Test Status codecov

An easy to use mmap wrapper for go. Support read, write and auto grow.

Installation

go get -u github.com/ImSingee/mmap

Quick Start

package main

import "github.com/ImSingee/mmap"

func main() {
	f, err := mmap.New(mmap.NewReadWrite(""))
	if err != nil {
		panic("Cannot init mmap: " + err.Error())
	}
	defer f.Close()

	_, err = f.WriteAt([]byte("Hello World!"), 0)
	if err != nil {
		panic(err)
	}
}

License

MIT License

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author