• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sha1n / go-template
59%

Build:
DEFAULT BRANCH: master
Repo Added 25 May 2021 01:35PM UTC
Token Y9jBjhjwOxS6f7iwLKvmfydSkWDLwu29p regen
Build 137 Last
Files 2
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • bash-fixes
  • bash-script-bug
  • dependabot/github_actions/actions/checkout-3
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/setup-go-3
  • dependabot/github_actions/actions/setup-go-4
  • dependabot/github_actions/actions/setup-go-5
  • dependabot/github_actions/coverallsapp/github-action-1.1.3
  • dependabot/github_actions/coverallsapp/github-action-1.2.0
  • dependabot/github_actions/coverallsapp/github-action-1.2.2
  • dependabot/github_actions/coverallsapp/github-action-1.2.3
  • dependabot/github_actions/coverallsapp/github-action-1.2.4
  • dependabot/github_actions/coverallsapp/github-action-2.0.0
  • dependabot/github_actions/coverallsapp/github-action-2.1.0
  • dependabot/github_actions/coverallsapp/github-action-2.1.1
  • dependabot/github_actions/coverallsapp/github-action-2.1.2
  • dependabot/github_actions/coverallsapp/github-action-2.2.0
  • dependabot/github_actions/coverallsapp/github-action-2.2.1
  • dependabot/github_actions/coverallsapp/github-action-2.2.3
  • dependabot/github_actions/coverallsapp/github-action-2.3.0
  • dependabot/github_actions/coverallsapp/github-action-2.3.1
  • dependabot/github_actions/coverallsapp/github-action-2.3.3
  • dependabot/github_actions/coverallsapp/github-action-2.3.4
  • dependabot/github_actions/coverallsapp/github-action-2.3.6
  • dependabot/github_actions/coverallsapp/github-action-2.3.7
  • dependabot/github_actions/goreleaser/goreleaser-action-4
  • dependabot/github_actions/goreleaser/goreleaser-action-5
  • dependabot/github_actions/goreleaser/goreleaser-action-6
  • dependabot/github_actions/goreleaser/goreleaser-action-7
  • dependabot/github_actions/jandelgado/gcov2lcov-action-1.0.8
  • dependabot/github_actions/jandelgado/gcov2lcov-action-1.0.9
  • dependabot/github_actions/jandelgado/gcov2lcov-action-1.1.0
  • dependabot/github_actions/jandelgado/gcov2lcov-action-1.1.1
  • dependabot/github_actions/jandelgado/gcov2lcov-action-1.2.0
  • dependabot/github_actions/release-drafter/release-drafter-6
  • dependabot/github_actions/release-drafter/release-drafter-7
  • dependabot/go_modules/google.golang.org/protobuf-1.28.0
  • dependabot/go_modules/google.golang.org/protobuf-1.33.0
  • feat/template-init-bootstrap
  • fix/ci-go-toolchain-covdata
  • go-1.18
  • improve-init-script-1155010335296443994
  • improve-release-drafter-workflow
  • master
  • migrating-to-gha
  • test-workflow-trigger

22 Jun 2026 09:41AM UTC coverage: 58.594% (+46.1%) from 12.5%
27943737982

push

github

web-flow
Replace init.sh with a cross-platform Go init engine + /init-template (plus template build fixes) (#51)

* feat(bootstrap): cross-platform Go init engine; remove init.sh

Replace the macOS-only init.sh (BSD sed -i "") with a stdlib-only, deterministic
rename engine at internal/bootstrap. Given --owner/--repo/--go-version it
rewrites the template identifiers (module path, owner, repo, and the go.mod
version directive) and deploys git hooks; supports --dry-run. The go.mod version
rewrite tolerates CRLF line endings so it works on Windows checkouts.

Includes unit tests and a scaffolding-on-a-copy integration test that copies the
repo, renames it, and asserts the renamed copy still compiles.

* ci: linux+windows test matrix; strict make init; force LF via .gitattributes

Run go test ./... on ubuntu-latest and windows-latest (macOS excluded by policy);
the Unix make pipeline and Coveralls run on the Linux leg only. The Test step is
pinned to bash so the command parses identically on every OS. Add a strict
`make init` target (requires OWNER/REPO/GOVERSION, recipe-time guard) and a
.gitattributes that normalizes line endings to LF.

* docs: /init-template command, AGENTS.md, refreshed init instructions

Add the /init-template Claude slash command (detects defaults, interviews, runs
the engine, generates a tailored README/CLAUDE.md, and self-deletes the
scaffolding), an AGENTS.md policy doc (Linux+Windows CI, no macOS), and update
README/docs to document the /init-template and `make init` paths.

The command interviews the target-repo owner for CI OS coverage (Linux+Windows
default, Linux-only, or adding macOS) and applies the choice to the go.yml matrix.

init cleanup also removes AGENTS.md: it documents the template's own policy and
is superseded by the tailored CLAUDE.md generated for the target repo.

* fix(protoc): support darwin/arm64 and linux/arm64 in setup_protoc.sh

setup_protoc.sh only mapped the amd64 variants of darwin/linux/windows and
errored ... (continued)

72 of 125 new or added lines in 1 file covered. (57.6%)

75 of 128 relevant lines covered (58.59%)

21.44 hits per line

Relevant lines Covered
Build:
Build:
128 RELEVANT LINES 75 COVERED LINES
21.44 HITS PER LINE
Source Files on master
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
27943737982 master Replace init.sh with a cross-platform Go init engine + /init-template (plus template build fixes) (#51) * feat(bootstrap): cross-platform Go init engine; remove init.sh Replace the macOS-only init.sh (BSD sed -i "") with a stdlib-only, determini... push 22 Jun 2026 09:42AM UTC web-flow github
58.59
27942577414 feat/template-init-bootstrap Merge 24746179f into 9a74a2d34 Pull #51 22 Jun 2026 09:21AM UTC web-flow github
58.59
27941007915 feat/template-init-bootstrap Merge 3d72478ff into 9a74a2d34 Pull #51 22 Jun 2026 08:53AM UTC web-flow github
58.59
27939121558 feat/template-init-bootstrap Merge 710b723b9 into 9a74a2d34 Pull #51 22 Jun 2026 08:18AM UTC web-flow github
58.59
27938723287 feat/template-init-bootstrap Merge 5987ab003 into 9a74a2d34 Pull #51 22 Jun 2026 08:11AM UTC web-flow github
58.59
27938450971 feat/template-init-bootstrap Merge c2cf08041 into 9a74a2d34 Pull #51 22 Jun 2026 08:06AM UTC web-flow github
58.59
27938140571 feat/template-init-bootstrap Merge 370382a59 into 9a74a2d34 Pull #51 22 Jun 2026 08:00AM UTC web-flow github
58.59
27937039967 feat/template-init-bootstrap Merge 6499c20e5 into 9a74a2d34 Pull #51 22 Jun 2026 07:36AM UTC web-flow github
58.59
27936321522 feat/template-init-bootstrap Merge c1a02f122 into 9a74a2d34 Pull #51 22 Jun 2026 07:21AM UTC web-flow github
58.59
27934927900 feat/template-init-bootstrap Merge 8b373e0b6 into 9a74a2d34 Pull #51 22 Jun 2026 06:51AM UTC web-flow github
58.59
See All Builds (132)

Badge your Repo: go-template

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc