{"id":18247012,"url":"https://github.com/osspkg/go-static","last_synced_at":"2025-07-31T13:38:29.362Z","repository":{"id":53533889,"uuid":"338164555","full_name":"osspkg/go-static","owner":"osspkg","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-04T01:28:46.000Z","size":56,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T15:17:00.977Z","etag":null,"topics":["go","golang","package","static-include"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osspkg.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":"2021-02-11T22:04:31.000Z","updated_at":"2023-06-15T00:06:17.000Z","dependencies_parsed_at":"2023-07-27T22:13:17.981Z","dependency_job_id":"0c285526-46ab-4c16-b9a2-a976a41cf241","html_url":"https://github.com/osspkg/go-static","commit_stats":null,"previous_names":["osspkg/go-static","deweppro/go-static"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osspkg%2Fgo-static","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osspkg%2Fgo-static/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osspkg%2Fgo-static/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osspkg%2Fgo-static/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osspkg","download_url":"https://codeload.github.com/osspkg/go-static/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247912967,"owners_count":21017071,"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","golang","package","static-include"],"created_at":"2024-11-05T09:28:35.079Z","updated_at":"2025-04-08T19:35:22.621Z","avatar_url":"https://github.com/osspkg.png","language":"Go","readme":"# go-static\n\n[![Coverage Status](https://coveralls.io/repos/github/osspkg/go-static/badge.svg?branch=master)](https://coveralls.io/github/osspkg/go-static?branch=master)\n[![Release](https://img.shields.io/github/release/osspkg/go-static.svg?style=flat-square)](https://github.com/osspkg/go-static/releases/latest)\n[![Go Report Card](https://goreportcard.com/badge/github.com/osspkg/go-static)](https://goreportcard.com/report/github.com/osspkg/go-static)\n[![CI](https://github.com/osspkg/go-static/actions/workflows/ci.yml/badge.svg)](https://github.com/osspkg/go-static/actions/workflows/ci.yml)\n\n_Library for embedding static files inside an application_\n\n# Install as tool\n\n```bash\ngo install go.osspkg.com/static/cmd/static@latest\n```\n\n# Packaging\n\n```go\n//go:generate static \u003cDIR\u003e \u003cVAR\u003e\n```\n\n* DIR - Path to the static folder\n* VAR - A variable containing `static.Reader` interface\n\n## Example go code\n\n```go\npackage example\n\nimport (\n\t\"fmt\"\n\n\t\"go.osspkg.com/static\"\n)\n\n//go:generate static ./.. ui\n\nvar ui static.Reader\n\nfunc run() {\n\tfmt.Println(ui.List())\n}\n```\n## License\n\nBSD-3-Clause License. See the LICENSE file for details.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosspkg%2Fgo-static","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosspkg%2Fgo-static","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosspkg%2Fgo-static/lists"}