{"id":18768415,"url":"https://github.com/ekhabarov/stp","last_synced_at":"2025-11-05T03:03:27.695Z","repository":{"id":57530413,"uuid":"263993216","full_name":"ekhabarov/stp","owner":"ekhabarov","description":"Convert Go structures into Protobuf messages.","archived":false,"fork":false,"pushed_at":"2021-11-05T17:07:43.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T05:31:36.214Z","etag":null,"topics":["convertor","generator","go","golang","protobuf","protocol-buffers"],"latest_commit_sha":null,"homepage":"","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/ekhabarov.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":"2020-05-14T18:24:09.000Z","updated_at":"2021-11-05T17:07:45.000Z","dependencies_parsed_at":"2022-09-10T08:11:39.579Z","dependency_job_id":null,"html_url":"https://github.com/ekhabarov/stp","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/ekhabarov%2Fstp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekhabarov%2Fstp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekhabarov%2Fstp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekhabarov%2Fstp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ekhabarov","download_url":"https://codeload.github.com/ekhabarov/stp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239671416,"owners_count":19677873,"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":["convertor","generator","go","golang","protobuf","protocol-buffers"],"created_at":"2024-11-07T19:12:32.133Z","updated_at":"2025-11-05T03:03:27.634Z","avatar_url":"https://github.com/ekhabarov.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Convert Go structures into Protobuf messages.\n\n## Installation\n\n```shell\ngo get -u github.com/ekhabarov/stp\n```\n\n## Example\n\nGo struct from [example/example.go](./example/example.go)\n```go\ntype SomeStruct struct {\n\tID      int\n\tName    string\n\tAddress string\n\tStatus  string\n}\n```\ncommand\n\n```shell\nstp -f $GOPATH/src/github.com/ekhabarov/stp/example/example.go -s SomeStruct\n```\n\nprints\n\n```shell\nmessage SomeStruct {\n        int id = 1;\n        string name = 2;\n        string address = 3;\n        string status = 4;\n}\n```\n\n## Usage\n```shell\nUsage of stp:\n  -f string\n    /path/to/file.go with structures\n  -s string\n    Structure name to parse\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekhabarov%2Fstp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fekhabarov%2Fstp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekhabarov%2Fstp/lists"}