{"id":18863836,"url":"https://github.com/julles/go-stringer","last_synced_at":"2026-02-11T03:30:18.296Z","repository":{"id":87256030,"uuid":"173767217","full_name":"julles/go-stringer","owner":"julles","description":"String Manipulation for GoLang","archived":false,"fork":false,"pushed_at":"2019-03-04T16:56:49.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T21:25:55.561Z","etag":null,"topics":["go","gostringer","indonesia","package","stringer"],"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/julles.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-04T15:08:36.000Z","updated_at":"2019-03-04T16:56:51.000Z","dependencies_parsed_at":"2023-04-12T22:47:42.717Z","dependency_job_id":null,"html_url":"https://github.com/julles/go-stringer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julles%2Fgo-stringer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julles%2Fgo-stringer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julles%2Fgo-stringer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julles%2Fgo-stringer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julles","download_url":"https://codeload.github.com/julles/go-stringer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239808523,"owners_count":19700451,"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","gostringer","indonesia","package","stringer"],"created_at":"2024-11-08T04:38:44.747Z","updated_at":"2026-02-11T03:30:18.261Z","avatar_url":"https://github.com/julles.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stringer for GoLang\nGo Stringer is GoLang package for string manipulation with an expresive syntax.\n## How to Install ?\n\n``` sh\ngo get github.com/julles/go-stringer\n```\n\n### Or if you using DEP \n\n``` sh\ndep ensure -add github.com/julles/go-stringer\n\ndep ensure\n\n```\n\n# Example \n\n### Basic\n\nImport package\n\n``` go\nimport (\n\t..\n\ts \"github.com/julles/go-stringer\"\n)\n```\n\nHere is the basic usage\n\n``` go\nvar kata s.Words = \"REZA\"\nkata.LowerFirst()\nfmt.Println(kata) // the output \"rEZA\"\n\nvar kata2 s.Words = \"REZA\"\n\nkata2.Reverse().\n\tReplace(\"A\",\"I\")\n\nfmt.Println(kata2) // the output \"IZER\"\n\nvar kata3 s.Words = \"Muhamad Reza Abdul Rohim\"\nkata3.CamelCase(\" \")\nfmt.Println(kata3) // the output \"muhamadRezaAbdulRohim\"\n\n```\n\nUsing chaining method\n\n``` go\nvar kata s.Words = \"REZA\"\n\nkata.LowerFirst().\n\tLowerLast().\n\tReverse().\n\tReplace(\"a\", \"i\").\n\tRepeat(2)\n\nfmt.Println(kata) // the output \"iZEriZEr\"\n\n```\n\n## Available Methods\n\n| Methods   |\n|----------|\n| .CamelCase(separator string) |\n| .Lower() |\n| .LowerFirst() |\n| .LowerLast() |\n| .Repeat(count int) |\n| .Replace(search string,replace string) |\n| .Reverse() |\n| .Substring(start int , end int) |\n| .Upper() |\n| .UpperFirst() |\n| .UpperLast() |\n\n## License\n\nhttps://reza.mit-license.org/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulles%2Fgo-stringer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulles%2Fgo-stringer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulles%2Fgo-stringer/lists"}