{"id":20482071,"url":"https://github.com/uk0/go-ssvg","last_synced_at":"2025-10-07T00:33:18.906Z","repository":{"id":178800374,"uuid":"658647046","full_name":"uk0/go-ssvg","owner":"uk0","description":"go svg gen golang svg 生成器 ","archived":false,"fork":false,"pushed_at":"2023-07-10T15:20:56.000Z","size":10618,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T13:23:22.548Z","etag":null,"topics":["go","go-svg","ssvg","svg"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uk0.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":"2023-06-26T08:08:45.000Z","updated_at":"2024-12-30T06:14:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"a841f416-f9ba-48a4-bdbd-9ccdf569573f","html_url":"https://github.com/uk0/go-ssvg","commit_stats":null,"previous_names":["uk0/go-ssvg"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uk0%2Fgo-ssvg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uk0%2Fgo-ssvg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uk0%2Fgo-ssvg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uk0%2Fgo-ssvg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uk0","download_url":"https://codeload.github.com/uk0/go-ssvg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234147902,"owners_count":18786934,"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","go-svg","ssvg","svg"],"created_at":"2024-11-15T16:11:20.836Z","updated_at":"2025-09-25T03:30:23.831Z","avatar_url":"https://github.com/uk0.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## go-svg \n\n\n### 实现了一个svg的基本实现，可以通过参数创建图像以及文字\n\n\n```go\n\npackage ssvg\n\nimport (\n\t\"testing\"\n)\n\nfunc TestWriteSvg(t *testing.T) {\n\tsvg := new(Svg)\n\tsvg.Add(\u0026Line{X1: 0, Y1: 0, X2: 100, Y2: 200})\n\tsvg.Add(\u0026Line{X1: -100, Y1: -100, X2: 100, Y2: 200})\n\tsvg.Add(\u0026Text{X: 50, Y: -50, Text: \"Test\"})\n\tsvg.WriteFile(\"test.svg\", 220)\n}\n\n\n```\n\n### demo\n\n![test.svg](test.svg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuk0%2Fgo-ssvg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuk0%2Fgo-ssvg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuk0%2Fgo-ssvg/lists"}