{"id":66554,"library":"dsnet-golib-memfile","title":"Golib Memfile","description":"In-memory emulation of os.File, providing a file-like interface backed by memory.","status":"active","version":"1.0.0","language":"go","source_language":null,"source_url":"https://github.com/dsnet/golib","tags":["memory","file","utility","io"],"install":[{"cmd":"go get github.com/dsnet/golib/memfile","lang":"bash","label":"Install github.com/dsnet/golib/memfile"}],"dependencies":[],"imports":[{"symbol":"memfile","correct":"github.com/dsnet/golib/memfile"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/dsnet/golib/memfile\"\n)\n\nfunc main() {\n\tf := memfile.New([]byte(\"hello world\"))\n\tbuf := make([]byte, 5)\n\tf.Read(buf)\n\tfmt.Println(string(buf))\n}","lang":"go","description":"Creates an in-memory file from a byte slice and reads from it."},"warnings":[],"env_vars":null,"search_vec":"'back':15 'emul':6 'file':12,19 'file-lik':11 'golib':1 'in-memori':3 'interfac':14 'io':21 'like':13 'memfil':2 'memori':5,17,18 'os.file':8 'provid':9 'util':20","created_at":"2026-06-17T17:25:28.609815+00:00","updated_at":"2026-06-17T17:25:28.609815+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/dsnet/golib","github":"https://github.com/dsnet/golib","docs":"https://pkg.go.dev/github.com/dsnet/golib/memfile#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}