{"id":23097066,"url":"https://github.com/alexcoder04/ef","last_synced_at":"2025-04-03T20:15:46.450Z","repository":{"id":114988168,"uuid":"584512835","full_name":"alexcoder04/ef","owner":"alexcoder04","description":"Easy Files - a library that makes working with files in Go enjoyable","archived":false,"fork":false,"pushed_at":"2023-01-02T20:30:25.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T08:23:49.842Z","etag":null,"topics":["files","go","go-library","golang","library"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexcoder04.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-01-02T19:29:08.000Z","updated_at":"2023-01-09T07:19:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"f81b373c-58e6-4f3e-83ef-26f4843c14f1","html_url":"https://github.com/alexcoder04/ef","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fef","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fef/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fef/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fef/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexcoder04","download_url":"https://codeload.github.com/alexcoder04/ef/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247070927,"owners_count":20878586,"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":["files","go","go-library","golang","library"],"created_at":"2024-12-16T22:50:49.432Z","updated_at":"2025-04-03T20:15:46.411Z","avatar_url":"https://github.com/alexcoder04.png","language":"Go","readme":"# ef\n\n**E**asy **F**iles - a library that makes working with files in Go enjoyable.\n\n## Install\n\n```sh\ngo get github.com/alexcoder04/ef\n```\n\n## Use\n\n```go\npackage main\n\nimport (\n    ...\n\n    \"github.com/alexcoder04/ef\n)\n\nfunc main(){\n    f := ef.NewFile(\"assets\", \"image.png\")\n    if !f.Exists {\n        println(\"file does not exist\")\n        return\n    }\n\n    println(f.PathAbs())\n\n    err := f.Copy(\"new/image.png\")\n    if err != nil {\n        ...\n    }\n}\n```\n\n## Documentation\n\nPlease refer to [pkg.go.dev](https://pkg.go.dev/alexcoder04/ef).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcoder04%2Fef","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexcoder04%2Fef","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcoder04%2Fef/lists"}