{"id":19731310,"url":"https://github.com/curder/file-store-server","last_synced_at":"2025-07-31T02:34:45.786Z","repository":{"id":88309340,"uuid":"253867492","full_name":"curder/file-store-server","owner":"curder","description":"Go文件上传学习记录","archived":false,"fork":false,"pushed_at":"2020-05-20T12:10:19.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T14:52:00.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/curder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-07T17:36:53.000Z","updated_at":"2020-05-20T12:10:21.000Z","dependencies_parsed_at":"2023-06-17T06:45:57.882Z","dependency_job_id":null,"html_url":"https://github.com/curder/file-store-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curder%2Ffile-store-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curder%2Ffile-store-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curder%2Ffile-store-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curder%2Ffile-store-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/curder","download_url":"https://codeload.github.com/curder/file-store-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241056344,"owners_count":19901767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T00:20:09.792Z","updated_at":"2025-02-27T20:26:04.952Z","avatar_url":"https://github.com/curder.png","language":"Go","readme":"# Go 文件上传管理\n\n```\ngo run main.go\n```\n\n打开浏览器访问 `http://127.0.0.1:8888/files/uploads`，尝试上传一张图片，图片会被保存在 `/tmp/go-test-files/`下。\n\n\n- Mac生成1GB大小文件\n\n```\ndd if=/dev/zero of=fileName bs=1048576 count=1000\n```\n\u003e `of` 文件名称\n\u003e `bs` 生成文件的大小：1024 * 1024 = 1GB\n\n- Mac查看文件sha1值\n\n```\nshasum main.go\n```\n- `main.go` 文件名","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurder%2Ffile-store-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurder%2Ffile-store-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurder%2Ffile-store-server/lists"}