{"id":22535771,"url":"https://github.com/ik5/extratypes","last_synced_at":"2026-01-12T06:55:06.694Z","repository":{"id":48507528,"uuid":"254067789","full_name":"ik5/extratypes","owner":"ik5","description":"Globally used data types on multiple projects of mine on their own package","archived":false,"fork":false,"pushed_at":"2021-07-22T09:33:56.000Z","size":54,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T07:14:03.065Z","etag":null,"topics":["data-type","golang","json","package","packages","reusable"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ik5.png","metadata":{"files":{"readme":"README.markdown","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":"2020-04-08T11:24:10.000Z","updated_at":"2023-03-28T13:29:34.000Z","dependencies_parsed_at":"2022-08-26T03:32:54.205Z","dependency_job_id":null,"html_url":"https://github.com/ik5/extratypes","commit_stats":null,"previous_names":["ik5/extra-types"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ik5%2Fextratypes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ik5%2Fextratypes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ik5%2Fextratypes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ik5%2Fextratypes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ik5","download_url":"https://codeload.github.com/ik5/extratypes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245979196,"owners_count":20703887,"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":["data-type","golang","json","package","packages","reusable"],"created_at":"2024-12-07T10:08:29.477Z","updated_at":"2026-01-12T06:55:06.643Z","avatar_url":"https://github.com/ik5.png","language":"Go","readme":"# Extra Types\n\nThe current package contains types that I require in projects where the type never\nchanges, and used globally.\n\n\n## Current Type Support\n\n * Duration - Ability to store `time.Duration` over JSON and database.\n * Numeric values - Ability to store and load `int` and `uint` family even when they are string for example.\n * Bool - Ability to take boolean value as int, string and boolean and convert to `bool` type, with `nil` support.\n\n\n# TODO\n  - [x] Add Tests for nil duration\n  - [ ] Add more test covers for nil duration\n  - [ ] Add More int and uint type support\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fik5%2Fextratypes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fik5%2Fextratypes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fik5%2Fextratypes/lists"}