{"id":13763546,"url":"https://github.com/grsmv/goweek","last_synced_at":"2025-04-30T01:30:52.770Z","repository":{"id":50746607,"uuid":"46057115","full_name":"grsmv/goweek","owner":"grsmv","description":"ISO 8601 compatible library for working with week entities for Go","archived":false,"fork":false,"pushed_at":"2023-01-10T14:58:50.000Z","size":14,"stargazers_count":27,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-07-31T01:24:33.289Z","etag":null,"topics":["go","golang","week-entities"],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/grsmv/goweek","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/grsmv.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":"2015-11-12T14:11:46.000Z","updated_at":"2023-08-17T12:15:07.000Z","dependencies_parsed_at":"2023-02-08T19:00:16.258Z","dependency_job_id":null,"html_url":"https://github.com/grsmv/goweek","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/grsmv%2Fgoweek","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grsmv%2Fgoweek/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grsmv%2Fgoweek/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grsmv%2Fgoweek/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grsmv","download_url":"https://codeload.github.com/grsmv/goweek/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213819487,"owners_count":15643221,"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":["go","golang","week-entities"],"created_at":"2024-08-03T15:00:51.035Z","updated_at":"2024-08-03T15:02:02.943Z","avatar_url":"https://github.com/grsmv.png","language":"Go","funding_links":[],"categories":["Date and Time","Date \u0026 Time","\u003cspan id=\"日期和时间-date-and-time\"\u003e日期和时间 Date and Time\u003c/span\u003e","日期和时间"],"sub_categories":["Advanced Console UIs","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e"],"readme":"### Goweek\n\n[![Build Status](https://travis-ci.org/grsmv/goweek.svg)](https://travis-ci.org/grsmv/goweek)\n![Goreport](http://goreportcard.com/badge/grsmv/goweek)\n\nSimple ISO 8601-compatible library for working with week entities for Go programming language. \nRewrite of old [Ruby gem](https://github.com/grsmv/week)\n\n#### Usage:\n\n```go\n// importing:\nimport \"github.com/grsmv/goweek\"\n\n// initializing goweek.Week struct:\n//                          year \n//                          |     week number (starting from 1)\n//                          |     |\nweek, err := goweek.NewWeek(2015, 46)\n\n// retrieving slice with days (`time.Time` instances) for a given week:\nweek.Days()\n\n// retrieving `goweek.Week` instance for a next week:\nnextWeek, err := week.Next()\n\n// retrieving `goweek.Week` instance for a previous week:\npreviousWeek, err := week.Previous()\n```\n\n#### License:\n\n```\nCopyright (c) 2015 Serhii Herasymov\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrsmv%2Fgoweek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrsmv%2Fgoweek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrsmv%2Fgoweek/lists"}