{"id":37113013,"url":"https://github.com/saimcore/convert-units-go","last_synced_at":"2026-01-14T13:20:57.379Z","repository":{"id":256038268,"uuid":"852352233","full_name":"SaimCore/convert-units-go","owner":"SaimCore","description":"This package is designed to simplify conversions between units of measurement such as weight, length, and temperature.","archived":false,"fork":false,"pushed_at":"2025-10-27T02:34:51.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-12T00:34:02.810Z","etag":null,"topics":["convert","go","go-packages","length","packages","temperature","units","weight"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/SaimCore/convert-units-go","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/SaimCore.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-04T16:55:11.000Z","updated_at":"2025-10-27T02:34:55.000Z","dependencies_parsed_at":"2025-10-07T19:33:13.818Z","dependency_job_id":"fdf69637-99c8-4c25-a205-18820ec6ce84","html_url":"https://github.com/SaimCore/convert-units-go","commit_stats":null,"previous_names":["purinpintakhiew/go-convert-units","saimcore/convert-units-go"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/SaimCore/convert-units-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaimCore%2Fconvert-units-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaimCore%2Fconvert-units-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaimCore%2Fconvert-units-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaimCore%2Fconvert-units-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SaimCore","download_url":"https://codeload.github.com/SaimCore/convert-units-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaimCore%2Fconvert-units-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28421062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["convert","go","go-packages","length","packages","temperature","units","weight"],"created_at":"2026-01-14T13:20:55.492Z","updated_at":"2026-01-14T13:20:56.718Z","avatar_url":"https://github.com/SaimCore.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# convert-units-go ✨\nconvert-units-go is a Go package designed to simplify conversions between units of measurement, including weight, length, and temperature. It provides a user-friendly interface for developers to convert values ​​between different units.\n\n[![GoDoc](https://godoc.org/github.com/SaimCore/convert-units-go?status.svg)](https://godoc.org/github.com/SaimCore/convert-units-go)\n[![Go Report Card](https://goreportcard.com/badge/SaimCore/convert-units-go)](https://goreportcard.com/report/SaimCore/convert-units-go)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/SaimCore/convert-units-go/blob/main/LICENSE)\n\n\n## Install 🛠️\n```\ngo get github.com/SaimCore/convert-units-go\n```\n## How to use💡\n```\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/SaimCore/convert-units-go/convert/length\"\n\t\"github.com/SaimCore/convert-units-go/convert/temperature\"\n\t\"github.com/SaimCore/convert-units-go/convert/weight\"\n)\n\nfunc main() {\n\t// --- Convert length units\n\tcalc_length, _ := length.ConvertLength(1, \"kilometer\", \"meter\")\n\tfmt.Printf(\"length: %.3f\\n\", calc_length) // length: 1000.000\n\n\tm_to_Km, _ := length.MeterToKilometer(1000)\n\tfmt.Printf(\"%.3f Meter = %.3f Kilometer\\n\", 1000.0, m_to_Km) // 1000.000 Meter = 1.000 Kilometer\n\n\t// --- Convert weight units\n\tcalc_weight, _ := weight.ConvertWeight(1, \"kilogram\", \"gram\")\n\tfmt.Printf(\"weight: %.3f\\n\", calc_weight) // weight: 1000.000\n\n\tkg_to_tonne, _ := weight.KilogramToTonne(1000)\n\tfmt.Printf(\"%.3f kilogram = %.3f tonne\\n\", 1000.0, kg_to_tonne) // 1000.000 kilogram = 1.000 tonne\n\n\t// --- Convert temperature units\n\tcalc_temp, _ := temperature.ConvertTemperature(0, \"celsius\", \"fahrenheit\")\n\tfmt.Printf(\"temp: %.3f\\n\", calc_temp) // temp: 32.000\n\n\tc_to_k, _ := temperature.CelsiusToKelvin(1)\n\tfmt.Printf(\"%.3f celsius = %.3f kelvin\\n\", 1.0, c_to_k) // 1.000 celsius = 274.150 kelvin\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaimcore%2Fconvert-units-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaimcore%2Fconvert-units-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaimcore%2Fconvert-units-go/lists"}