{"id":52099,"library":"blevesearch-mmap-go","title":"blevesearch/mmap-go","description":"Memory-mapping files into memory with a simple, portable interface.","status":"active","version":"1.2.0","language":"go","source_language":null,"source_url":"https://github.com/blevesearch/mmap-go","tags":["mmap","memory","file","mapping"],"install":[{"cmd":"go get github.com/blevesearch/mmap-go","lang":"bash","label":"Install github.com/blevesearch/mmap-go"}],"dependencies":[],"imports":[{"symbol":"mmap","correct":"github.com/blevesearch/mmap-go"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\t\"github.com/blevesearch/mmap-go\"\n)\n\nfunc main() {\n\tf, _ := os.Open(\"file.dat\")\n\tdefer f.Close()\n\tdata, _ := mmap.Map(f, mmap.RDONLY, 0)\n\tdefer data.Unmap()\n\tfmt.Println(string(data))\n}","lang":"go","description":"Memory-map a file for reading"},"warnings":[{"fix":"Check documentation for your target OS","message":"Platform-specific behavior; not all features available on all OS","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'blevesearch/mmap-go':1 'file':5,15 'interfac':12 'map':4,16 'memori':3,7,14 'memory-map':2 'mmap':13 'portabl':11 'simpl':10","created_at":"2026-06-15T06:41:19.398568+00:00","updated_at":"2026-06-15T06:41:19.398568+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/blevesearch/mmap-go","github":"https://github.com/blevesearch/mmap-go","docs":"https://pkg.go.dev/github.com/blevesearch/mmap-go#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}