{"id":13407802,"url":"https://github.com/alexcoder04/friendly","last_synced_at":"2026-03-04T20:04:45.583Z","repository":{"id":49769900,"uuid":"517356851","full_name":"alexcoder04/friendly","owner":"alexcoder04","description":"Go utils library","archived":false,"fork":false,"pushed_at":"2025-05-01T15:30:03.000Z","size":67,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"v2","last_synced_at":"2025-05-01T16:36:53.191Z","etag":null,"topics":["friendly","go","go-friendly","golang","learning","library","misc","miscellaneous","simple","utils","utils-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":"2022-07-24T15:08:52.000Z","updated_at":"2025-05-01T15:30:00.000Z","dependencies_parsed_at":"2024-06-21T20:23:00.637Z","dependency_job_id":"fc50a892-14e4-4ead-ab9b-6bf7c235c0f1","html_url":"https://github.com/alexcoder04/friendly","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.0357142857142857,"last_synced_commit":"83259a1b41a3b3fc8cc7dce780e28271054d0c49"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/alexcoder04/friendly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Ffriendly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Ffriendly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Ffriendly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Ffriendly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexcoder04","download_url":"https://codeload.github.com/alexcoder04/friendly/tar.gz/refs/heads/v2","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Ffriendly/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262714503,"owners_count":23352464,"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":["friendly","go","go-friendly","golang","learning","library","misc","miscellaneous","simple","utils","utils-library"],"created_at":"2024-07-30T20:00:48.730Z","updated_at":"2026-03-04T20:04:45.539Z","avatar_url":"https://github.com/alexcoder04.png","language":"Go","readme":"\n# Friendly Go\n\n[![License](https://img.shields.io/github/license/alexcoder04/friendly)](https://github.com/alexcoder04/friendly/blob/main/LICENSE)\n[![Go Version](https://img.shields.io/github/go-mod/go-version/alexcoder04/friendly)](https://github.com/alexcoder04/friendly/blob/main/go.mod)\n[![Lines](https://img.shields.io/tokei/lines/github/alexcoder04/friendly?label=lines)](https://github.com/alexcoder04/friendly/pulse)\n[![Release](https://img.shields.io/github/v/release/alexcoder04/friendly?display_name=tag\u0026sort=semver)](https://github.com/alexcoder04/friendly/releases/latest)\n[![Stars](https://img.shields.io/github/stars/alexcoder04/friendly)](https://github.com/alexcoder04/friendly/stargazers)\n[![Contributors](https://img.shields.io/github/contributors-anon/alexcoder04/friendly)](https://github.com/alexcoder04/friendly/graphs/contributors)\n\nA library with functions I use all the time in my projects.\n\nAlso useful if you are starting to learn Go and are annoyed by implementing basic things in your project all the time.\n\n## Install and Use\n\n**Warning:** the `v1` version is deprecated, please use `friendly/v2` instead.\n\nIn your project directory, type\n\n```sh\ngo get github.com/alexcoder04/friendly/v2\n# or `go get github.com/alexcoder04/friendly/v2/...` depending on the sub-package you need\n```\n\nAnd then, in your code\n\n```go\npackage ...\n\nimport (\n    ...\n    \"github.com/alexcoder04/friendly/v2\"\n    \"github.com/alexcoder04/friendly/v2/ffiles\"\n)\n\n...\nfolder, _ := friendly.Input()\nif ffiles.IsDir(folder) {\n    friendly.CompressFolder(folder, destination)\n}\n...\n```\n\n## Documentation\n\nThe documentation can be found on `pkg.go.dev`:\n\n - [`alexcoder04/friendly/v2`](https://pkg.go.dev/github.com/alexcoder04/friendly/v2)\n - [`alexcoder04/friendly/v2/ffiles`](https://pkg.go.dev/github.com/alexcoder04/friendly/v2/ffiles)\n - [`alexcoder04/friendly/v2/flinux`](https://pkg.go.dev/github.com/alexcoder04/friendly/v2/flinux)\n\n## Contributing\n\nIf you use this library and are missing some feature - don't hesitate to open a\npull request or an issue, I'm always looking forward to improve this project!\n\n","funding_links":[],"categories":["Development"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcoder04%2Ffriendly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexcoder04%2Ffriendly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcoder04%2Ffriendly/lists"}