gitea/vendor/github.com/edsrzf/mmap-go
Antoine GIRARD c4d8d53a6d Backport: Use vendored go-swagger (#8087) (#8165)
* Use vendored go-swagger (#8087)

* Use vendored go-swagger

* vendor go-swagger

* revert un wanteed change

* remove un-needed GO111MODULE

* Update Makefile

Co-Authored-By: techknowlogick <matti@mdranta.net>

* re-generate swagger file
2019-09-12 22:58:09 +03:00
..
.gitignore Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
LICENSE Update to last common bleve (#3986) 2018-05-19 20:49:46 +08:00
README.md Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
mmap.go Backport: Use vendored go-swagger (#8087) (#8165) 2019-09-12 22:58:09 +03:00
mmap_unix.go Backport: Use vendored go-swagger (#8087) (#8165) 2019-09-12 22:58:09 +03:00
mmap_windows.go Backport: Use vendored go-swagger (#8087) (#8165) 2019-09-12 22:58:09 +03:00

README.md

mmap-go

mmap-go is a portable mmap package for the Go programming language. It has been tested on Linux (386, amd64), OS X, and Windows (386). It should also work on other Unix-like platforms, but hasn't been tested with them. I'm interested to hear about the results.

I haven't been able to add more features without adding significant complexity, so mmap-go doesn't support mprotect, mincore, and maybe a few other things. If you're running on a Unix-like platform and need some of these features, I suggest Gustavo Niemeyer's gommap.