{"id":21244519,"url":"https://github.com/jesusslim/dtcvt","last_synced_at":"2025-06-15T21:13:41.685Z","repository":{"id":57630798,"uuid":"53034802","full_name":"jesusslim/dtcvt","owner":"jesusslim","description":"golang data type convert","archived":false,"fork":false,"pushed_at":"2016-03-03T09:04:50.000Z","size":1,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T04:26:59.654Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jesusslim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-03T08:41:13.000Z","updated_at":"2016-09-26T02:39:37.000Z","dependencies_parsed_at":"2022-09-26T20:11:29.736Z","dependency_job_id":null,"html_url":"https://github.com/jesusslim/dtcvt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jesusslim/dtcvt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesusslim%2Fdtcvt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesusslim%2Fdtcvt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesusslim%2Fdtcvt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesusslim%2Fdtcvt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jesusslim","download_url":"https://codeload.github.com/jesusslim/dtcvt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesusslim%2Fdtcvt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260050910,"owners_count":22951550,"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":[],"created_at":"2024-11-21T01:27:19.380Z","updated_at":"2025-06-15T21:13:41.657Z","avatar_url":"https://github.com/jesusslim.png","language":"Go","readme":"# dtcvt\ngolang data type convert\n\n## useage\n\t\n\tpackage main\n\n\timport (\n\t\t\"fmt\"\n\t\t\"github.com/jesusslim/dtcvt\"\n\t)\n\n\tfunc main() {\n\t\t//to string\n\t\ta := []byte(\"sa\")\n\t\tr := dtcvt.MustString(a, \"gg\")\n\t\tfmt.Println(\"To string:\", r)\n\t\n\t\t//to int\n\t\tb := 123\n\t\tr2 := dtcvt.MustInt(b)\n\t\tfmt.Println(\"To int:\", r2)\n\t\n\t\t//to float\n\t\tc := []byte(\"12.7\")\n\t\tr3 := dtcvt.MustFloat64(c)\n\t\tfmt.Println(\"To float:\", r3)\n\t}","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesusslim%2Fdtcvt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjesusslim%2Fdtcvt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesusslim%2Fdtcvt/lists"}