{"id":15399478,"url":"https://github.com/chai2010/glua-strings","last_synced_at":"2025-04-16T02:15:34.589Z","repository":{"id":77627718,"uuid":"115080384","full_name":"chai2010/glua-strings","owner":"chai2010","description":"Go strings package for gopher-lua","archived":false,"fork":false,"pushed_at":"2025-02-07T18:04:38.000Z","size":17,"stargazers_count":9,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T02:15:20.614Z","etag":null,"topics":["glua","gopher-lua","lua","strings"],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/chai2010/glua-strings","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/chai2010.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}},"created_at":"2017-12-22T05:35:35.000Z","updated_at":"2025-02-07T18:04:45.000Z","dependencies_parsed_at":"2023-07-08T06:30:48.212Z","dependency_job_id":null,"html_url":"https://github.com/chai2010/glua-strings","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chai2010%2Fglua-strings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chai2010%2Fglua-strings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chai2010%2Fglua-strings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chai2010%2Fglua-strings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chai2010","download_url":"https://codeload.github.com/chai2010/glua-strings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249183116,"owners_count":21226143,"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":["glua","gopher-lua","lua","strings"],"created_at":"2024-10-01T15:49:03.539Z","updated_at":"2025-04-16T02:15:34.568Z","avatar_url":"https://github.com/chai2010.png","language":"Go","readme":"- *Go语言QQ群: 102319854, 1055927514*\n- *凹语言(凹读音“Wa”)(The Wa Programming Language): https://github.com/wa-lang/wa*\n\n----\n\n# Go strings package for [gopher-lua](https://github.com/yuin/gopher-lua)\n\n[hello.go](hello.go):\n\n```go\npackage main\n\nimport (\n\t\"github.com/yuin/gopher-lua\"\n\n\tstrings \"github.com/chai2010/glua-strings\"\n)\n\nfunc main() {\n\tL := lua.NewState()\n\tdefer L.Close()\n\n\tstrings.Preload(L)\n\n\tif err := L.DoString(code); err != nil {\n\t\tpanic(err)\n\t}\n}\n```\n\n[hello.lua](hello.lua):\n\n```lua\nlocal strings = require(\"strings\")\n\nprint(strings.ToUpper(\"abc\"))\n\nfor i, s in ipairs(strings.Split(\"aa,b,,c\", \",\")) do\n\tprint(i, s)\nend\n```\n\nRun example:\n\n    $ go run hello.go\n\n## License\n\nThe MIT License.\n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchai2010%2Fglua-strings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchai2010%2Fglua-strings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchai2010%2Fglua-strings/lists"}