{"id":16547945,"url":"https://github.com/xjh22222228/gosh","last_synced_at":"2025-03-16T19:32:45.757Z","repository":{"id":49415625,"uuid":"120752757","full_name":"xjh22222228/gosh","owner":"xjh22222228","description":"🛺 Golang utility library, With additional functions such as JavaScript/Python! Golang实用程序库。","archived":false,"fork":false,"pushed_at":"2022-09-25T14:32:57.000Z","size":369,"stargazers_count":174,"open_issues_count":0,"forks_count":35,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-12T19:24:01.609Z","etag":null,"topics":["golang","golang-library","golang-utils","gosh","javascript","python","utilities"],"latest_commit_sha":null,"homepage":"https://gosh.vercel.app/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xjh22222228.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}},"created_at":"2018-02-08T11:27:10.000Z","updated_at":"2024-04-16T04:24:23.000Z","dependencies_parsed_at":"2022-09-06T07:22:51.485Z","dependency_job_id":null,"html_url":"https://github.com/xjh22222228/gosh","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjh22222228%2Fgosh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjh22222228%2Fgosh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjh22222228%2Fgosh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjh22222228%2Fgosh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xjh22222228","download_url":"https://codeload.github.com/xjh22222228/gosh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221667534,"owners_count":16860621,"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":["golang","golang-library","golang-utils","gosh","javascript","python","utilities"],"created_at":"2024-10-11T19:24:01.004Z","updated_at":"2024-10-27T11:11:06.295Z","avatar_url":"https://github.com/xjh22222228.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://gosh.vercel.app/\"\u003e\n    \u003cimg src=\"media/logo.svg\" width=\"350\"\u003e\n  \u003c/a\u003e\n  \u003cp align=\"center\"\u003eGolang utility library, With additional functions such as JavaScript/Python!\u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://gosh.vercel.app/\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/online-docs-red.svg?longCache=true\u0026style=flat-square\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"README_zh-CN.md\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/lang-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-red.svg?longCache=true\u0026style=flat-square\"\u003e\n    \u003c/a\u003e\n    \u003cimg src=\"https://img.shields.io/github/go-mod/go-version/xjh22222228/gosh\" /\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/xjh22222228/gosh\" /\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/xjh22222228/gosh\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Coverage-100%25-brightgreen.svg\" /\u003e\n  \u003c/p\u003e\n\u003cp\u003e\n\n\n## Installation\n```bash\ngo get -d github.com/xjh22222228/gosh\n```\n\n\n## Getting Started\n```golang\npackage main\n\nimport (\n    \"fmt\"\n    \"time\"\n    \"github.com/xjh22222228/gosh/gstr\"\n    \"github.com/xjh22222228/gosh/gslice\"\n    \"github.com/xjh22222228/gosh/gtime\"\n)\n\nfunc main() {\n    s := gstr.Reverse(\"Hello World\")\n    fmt.Println(s) // =\u003e dlroW olleH\n\n\n    months := []string{\"Jan\", \"March\", \"April\", \"June\"}\n    deleteItem := gslice.Splice(\u0026months, 4, 1, \"May\")\n    fmt.Println(months, deleteItem)  // =\u003e [Jan March April June May] []\n    \n    // Format date\n    fmt.Println(gtime.Format(time.Now(), \"YYYY-MM-DD HH:mm:ss\"))\n    // =\u003e 2021-03-12 21:25:37\n}\n```\n\nMore in-depth info can be found in the runtime [documentation](https://gosh.vercel.app/).\n\n\n## Contributing\nWe appreciate your help!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjh22222228%2Fgosh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxjh22222228%2Fgosh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjh22222228%2Fgosh/lists"}