{"id":25132221,"url":"https://github.com/mh4gf/go-template","last_synced_at":"2026-02-11T12:34:28.676Z","repository":{"id":103655965,"uuid":"254023336","full_name":"MH4GF/go-template","owner":"MH4GF","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-08T09:12:59.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T04:58:34.460Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/MH4GF.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,"zenodo":null}},"created_at":"2020-04-08T08:02:12.000Z","updated_at":"2020-04-08T09:13:01.000Z","dependencies_parsed_at":"2023-05-24T04:15:30.280Z","dependency_job_id":null,"html_url":"https://github.com/MH4GF/go-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MH4GF/go-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MH4GF%2Fgo-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MH4GF%2Fgo-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MH4GF%2Fgo-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MH4GF%2Fgo-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MH4GF","download_url":"https://codeload.github.com/MH4GF/go-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MH4GF%2Fgo-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29333055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-02-08T14:17:18.786Z","updated_at":"2026-02-11T12:34:28.671Z","avatar_url":"https://github.com/MH4GF.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-template\n\n## usage\n\n### 1. setup git\n\n```shell script\n$ git clone git@github.com:MH4GF/go-template.git\n$ cd ..\n# copy and rename to APP_NAME\n$ cp -r go-template \u003cAPP_NAME\u003e\n$ cd \u003cAPP_NAME\u003e\n$ rm -rf .git\n$ git init\n```\n\n### 2. go mod init\n\n```shell script\n$ go mod init \u003cAPP_NAME\u003e\ngo: creating new go.mod: module \u003cAPP_NAME\u003e\n```\n\n### 3. rename APP_NAME in sources.\n\n```shell script\n$ vim Dockerfile\n\n- ARG app-name=\"app-name\"\n+ ARG app-name=\"\u003cAPP_NAME\u003e\"\n\n$ vim Makefile\n\n- NAME        := app-name\n+ NAME        := \u003cAPP_NAME\u003e\n\n$ vim build.sh\n\n- declare -r Name=\"app-name\"\n+ declare -r Name=\"\u003cAPP_NAME\u003e\"\n```\n\n### 4. build\n\n```shell script\n$ make build\n$ bin/\u003cAPP_NAME\u003e\nhello world!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmh4gf%2Fgo-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmh4gf%2Fgo-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmh4gf%2Fgo-template/lists"}