{"id":41107849,"url":"https://github.com/ktnyt/go-moji","last_synced_at":"2026-01-22T15:27:38.333Z","repository":{"id":57487864,"uuid":"117555792","full_name":"ktnyt/go-moji","owner":"ktnyt","description":"A Go library for Zenkaku/Hankaku conversion","archived":false,"fork":false,"pushed_at":"2019-04-17T01:29:45.000Z","size":9,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-18T23:15:20.055Z","etag":null,"topics":["conversion","go","japanese"],"latest_commit_sha":null,"homepage":null,"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/ktnyt.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-01-15T14:30:36.000Z","updated_at":"2024-05-23T02:56:55.000Z","dependencies_parsed_at":"2022-08-29T11:20:55.625Z","dependency_job_id":null,"html_url":"https://github.com/ktnyt/go-moji","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ktnyt/go-moji","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktnyt%2Fgo-moji","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktnyt%2Fgo-moji/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktnyt%2Fgo-moji/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktnyt%2Fgo-moji/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ktnyt","download_url":"https://codeload.github.com/ktnyt/go-moji/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktnyt%2Fgo-moji/sbom","scorecard":{"id":572063,"data":{"date":"2025-08-11","repo":{"name":"github.com/ktnyt/go-moji","commit":"7a72f5ccf13660b1aab14b6e7127efe92ef66f2f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":1,"reason":"Found 1/9 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T16:36:14.832Z","repository_id":57487864,"created_at":"2025-08-20T16:36:14.832Z","updated_at":"2025-08-20T16:36:14.832Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28665320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T14:01:31.714Z","status":"ssl_error","status_checked_at":"2026-01-22T13:59:23.143Z","response_time":144,"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":["conversion","go","japanese"],"created_at":"2026-01-22T15:27:37.706Z","updated_at":"2026-01-22T15:27:38.314Z","avatar_url":"https://github.com/ktnyt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-moji\n[![Build Status](https://circleci.com/gh/ktnyt/go-moji.svg?style=shield\u0026circle-token==7da9cb901d095995e930651e7298c8ab233a0c85)](https://circleci.com/gh/ktnyt/go-moji)\n[![Go Report Card](https://goreportcard.com/badge/github.com/ktnyt/go-moji)](https://goreportcard.com/report/github.com/ktnyt/go-moji)\n[![GoDoc](http://godoc.org/github.com/ktnyt/go-moji?status.svg)](http://godoc.org/github.com/ktnyt/go-moji)\n\nThis package provides a Go interface for converting between Zenkaku (全角 i.e. full-width) and Hankaku (半角 i.e. half-width) characters (mostly for Japanese). The library has been largely influenced by [niwaringo/moji](https://github.com/niwaringo/moji) the JavaScript implementation.\n\nFor detailed information of the API, see the [documents](https://godoc.org/github.com/ktnyt/go-moji).\n\n## Installation\nUse `go get`:\n```sh\n$ go get github.com/ktnyt/go-moji\n```\n\n## Requirements\nThis package has only been tested on Go \u003e= 1.8. Beware when using lower versions.\n\n## Example\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/ktnyt/go-moji\"\n)\n\nfunc main() {\n\ts := \"ＡＢＣ ABC　あがぱ　アガパ　ｱｶﾞﾊﾟ\"\n\n\t// Convert Zenkaku Eisuu to Hankaku Eisuu\n\tfmt.Println(moji.Convert(s, moji.ZE, moji.HE))\n\n\t// Convert Hankaku Eisuu to Zenkaku Eisuu\n\tfmt.Println(moji.Convert(s, moji.HE, moji.ZE))\n\n\t// Convert HiraGana to KataKana\n\tfmt.Println(moji.Convert(s, moji.HG, moji.KK))\n\n\t// Convert KataKana to HiraGana\n\tfmt.Println(moji.Convert(s, moji.KK, moji.HG))\n\n\t// Convert Zenkaku Katakana to Hankaku Katakana\n\tfmt.Println(moji.Convert(s, moji.ZK, moji.HK))\n\n\t// Convert Hankaku Katakana to Zenkaku Katakana\n\tfmt.Println(moji.Convert(s, moji.HK, moji.ZK))\n\n\t// Convert Zenkaku Space to Hankaku Space\n\tfmt.Println(moji.Convert(s, moji.ZS, moji.HS))\n\n\t// Convert Hankaku Space to Zenkaku Space\n\tfmt.Println(moji.Convert(s, moji.HS, moji.ZS))\n}\n```\n\n## Copyright\nCopyright (C) 2018 by Kotone Itaya \u003ckotone [at] sfc.keio.ac.jp\u003e\n\ngo-moji is released under the terms of the MIT License.\nSee [LICENSE](https://github.com/ktnyt/go-moji/blob/master/LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fktnyt%2Fgo-moji","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fktnyt%2Fgo-moji","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fktnyt%2Fgo-moji/lists"}