go-template

πŸš€ From Zero to Go Hero: Pre-wired Template for Modern Libraries

https://github.com/mrz1836/go-template

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • βœ“
    CITATION.cff file
    Found CITATION.cff file
  • βœ“
    codemeta.json file
    Found codemeta.json file
  • βœ“
    .zenodo.json file
    Found .zenodo.json file
  • β—‹
    DOI references
  • β—‹
    Academic publication links
  • β—‹
    Academic email domains
  • β—‹
    Institutional organization owner
  • β—‹
    JOSS paper metadata
  • β—‹
    Scientific vocabulary similarity
    Low similarity (8.2%) to scientific vocabulary

Keywords

boilerplate-template continuous-integration discord github-actions github-template gitpod go go-template golang goreleaser mergify slack template testify
Last synced: 4 months ago · JSON representation ·

Repository

πŸš€ From Zero to Go Hero: Pre-wired Template for Modern Libraries

Basic Info
  • Host: GitHub
  • Owner: mrz1836
  • License: mit
  • Language: Makefile
  • Default Branch: master
  • Homepage:
  • Size: 902 KB
Statistics
  • Stars: 15
  • Watchers: 2
  • Forks: 2
  • Open Issues: 0
  • Releases: 42
Topics
boilerplate-template continuous-integration discord github-actions github-template gitpod go go-template golang goreleaser mergify slack template testify
Created over 4 years ago · Last pushed 4 months ago
Metadata Files
Readme Contributing Funding License Code of conduct Citation Codeowners Security Support

README.md

πŸš€ go-template

From Zero to Go Hero: Pre-wired Template for Modern Libraries

CI / CD Quality & Security Docs & Meta Community
Latest Release
Build Status
CodeQL
Last commit
Go Report Card
Code Coverage
OpenSSF Scorecard
Security policy
OpenSSF Best Practices
Go version
Go docs
AGENTS.md rules
Mage Powered
Dependabot
Contributors
Sponsor
Donate Bitcoin


πŸ—‚οΈ Table of Contents


🧩 What's Inside

go-template is a plug-and-play scaffold that lets you skip the boilerplate and jump straight to building your Go library. Clone it, rename a few placeholders, and you instantly inherit a production-grade setup:


  • πŸ“š Go Best Practices & Examples Includes idiomatic Go patterns, table-driven tests, benchmarks, example functions, and fuzz testsβ€”demonstrating how to write robust, maintainable, and production-grade Go code.

  • ⚑ Zero-config CI/CD GitHub Actions run tests, upload coverage, and enforce linting on every pushβ€”so you never forget to run the checks.

  • πŸ› οΈ One-command via MAGE-X magex test, magex lint, magex bench, and moreβ€”common tasks stay muscle-memory simple.

  • 🚒 Automated Releases GoReleaser cuts signed, versioned artifacts the moment you push a tagβ€”shipping new versions becomes a 10-second ritual.

  • πŸ›‘οΈ Security & Supply-chain Guardrails Dependabot, Nancy, govulncheck, CodeQL, OpenSSF Scorecard and gitleaks give early warnings before bad things reach production.

  • 🎨 Style & Quality Enforcement golangci-lint with 50+ linters and gofumpt keeps the codebase clean and idiomatic - no bikeshedding required.

  • πŸ€– AI-Friendly Policies AGENTS.md, CLAUDE.md, cursorrules, and sweep.yaml ensure ChatGPT, Claude, Cursor & Sweep follow the same house rules.

  • 🌍 Community-Ready Meta [Issue/PR templates](.github/ISSUETEMPLATE), CODEOWNERS, CITATION, label sync, and a welcome bot to show contributors exactly how to get involved._


πŸš€ Quick Wins

  • Clone β†’ Tag β†’ Release: Go from idea to a published version in under five minutes.
  • Works Everywhere: macOS, Linux, Windows (maybe lol), ARM64 – fully reproducible builds.
  • Battery-Included Examples: ready-to-run demos, benchmarks, fuzz and race tests.
  • Flexible, Not Fragile: swap or remove any piece without breaking the whole.

Tip: Run magex help right after cloning to see every command the template unlocks.






πŸ›  Template Kick-Off Guide (3 Easy Steps)

(delete this section once your project is initialized)


1) Clone or "Use this template"

bash git clone https://github.com/mrz1836/go-template.git my-lib && cd my-lib

... or click Use this template on GitHub and create a new repo.


2) Install MAGE-X build tool and run the installation script

```bash go install github.com/mrz1836/mage-x/cmd/magex@latest

Run the install script to customize the project for your organization

magex installTemplate owner=yourorg repo=yourproject ```

Example: ```bash

For GitHub user "acme" creating a project called "awesome-api"

magex installTemplate owner=acme repo=awesome-api ```


What does that command do?

  1. Finds & replaces names across 70+ files
* `mrz1836/go-template` β†’ `yourorg/yourproject`
* `go-template` β†’ `yourproject`
* `mrz1836` β†’ `yourorg`
  1. Cleans up template artifacts
* Removes the default social-share image so you can add your own
* Updates module paths in `go.mod`
* Fixes all GitHub badges and links
  1. Provides helpful feedback
* Shows exactly which files were modified
* Gives you next steps to review and commit changes


3) Touch up metadata

Edit the highlighted files so they match your project:

  • LICENSE
    • Update the year and your name or organization
  • README.md
    • Remove the "remove-this-section" block in this file
    • Modify the "About" section to describe your library
  • .github/SECURITY.md
    • Update the security policy to match your project's needs
  • .github/FUNDING.yml
    • If you want to accept funding, add your funding links here
  • .goreleaser.yml
    • Modify settings for Slack, Discord, Twitter, or Reddit if you want to announce releases
  • CODEOWNERS
    • Adjust rules for code ownership if needed


Give it a spin!

Push your initial commit and run magex version:bump push=true bump=minor and the CI/CD pipeline will take it from there. πŸš€



text β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚ β”‚ MR. Z'S GO-TEMPLATE – YOUR README STARTS RIGHT AFTER THIS BANNER β”‚ β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ ⬇ ⬇ ⬇



πŸ“¦ Installation

go-template requires a supported release of Go. shell script go get -u github.com/mrz1836/go-template

Get the MAGE-X build tool for development: shell script go install github.com/mrz1836/mage-x/cmd/magex@latest


πŸ“š Documentation

Good to know: go-template ships with zero runtime dependencies. The only external package we use is testify and magefile β€” and that's strictly for tests and dev.


Repository Features
* **Continuous Integration on Autopilot** with [GitHub Actions](https://github.com/features/actions) – every push is built, tested, and reported in minutes. * **Pull‑Request Flow That Merges Itself** thanks to [auto‑merge](.github/workflows/auto-merge-on-approval.yml) and hands‑free [Dependabot auto‑merge](.github/workflows/dependabot-auto-merge.yml). * **One‑Command Builds** powered by battle‑tested [MAGE-X](https://github.com/mrz1836/mage-x) targets for linting, testing, releases, and more. * **First‑Class Dependency Management** using native [Go Modules](https://github.com/golang/go/wiki/Modules). * **Uniform Code Style** via [gofumpt](https://github.com/mvdan/gofumpt) plus zero‑noise linting with [golangci‑lint](https://github.com/golangci/golangci-lint). * **Confidence‑Boosting Tests** with [testify](https://github.com/stretchr/testify), the Go [race detector](https://blog.golang.org/race-detector), crystal‑clear [HTML coverage](https://blog.golang.org/cover) snapshots, and automatic uploads to [Codecov](https://codecov.io/). * **Hands‑Free Releases** delivered by [GoReleaser](https://github.com/goreleaser/goreleaser) whenever you create a [new Tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging). * **Relentless Dependency & Vulnerability Scans** via [Dependabot](https://dependabot.com), [Nancy](https://github.com/sonatype-nexus-community/nancy) and [govulncheck](https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck). * **Security Posture by Default** with [CodeQL](https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning), [OpenSSF Scorecard](https://openssf.org) and secret‑leak detection via [gitleaks](https://github.com/gitleaks/gitleaks). * **Automatic Syndication** to [pkg.go.dev](https://pkg.go.dev/) on every release for instant godoc visibility. * **Polished Community Experience** using rich templates for [Issues & PRs](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository). * **All the Right Meta Files** (`LICENSE`, `CITATION.cff`, `CONTRIBUTING.md`, `CODE_OF_CONDUCT.md`, `SUPPORT.md`, `SECURITY.md`) pre‑filled and ready. * **Code Ownership** clarified through a [CODEOWNERS](.github/CODEOWNERS) file, keeping reviews fast and focused. * **Zero‑Noise Dev Environments** with tuned editor settings (`.editorconfig`) plus curated *ignore* files for [VS Code](.editorconfig), [Docker](.dockerignore), and [Git](.gitignore). * **Label Sync Magic**: your repo labels stay in lock‑step with [.github/labels.yml](.github/labels.yml). * **Friendly First PR Workflow** – newcomers get a warm welcome thanks to a dedicated [workflow](.github/workflows/pull-request-management.yml). * **Standards‑Compliant Docs** adhering to the [standard‑readme](https://github.com/RichardLitt/standard-readme/blob/master/spec.md) spec. * **Instant Cloud Workspaces** via [Gitpod](https://gitpod.io/) – spin up a fully configured dev environment with automatic linting and tests. * **Out‑of‑the‑Box VS Code Happiness** with a preconfigured [Go](https://code.visualstudio.com/docs/languages/go) workspace and [`.vscode`](.vscode) folder with all the right settings. * **Optional Release Broadcasts** to your community via [Slack](https://slack.com), [Discord](https://discord.com), or [Twitter](https://twitter.com) – plug in your webhook. * **AI Compliance Playbook** – machine‑readable guidelines ([AGENTS.md](.github/AGENTS.md), [CLAUDE.md](.github/CLAUDE.md), [.cursorrules](.cursorrules), [sweep.yaml](.github/sweep.yaml)) keep ChatGPT, Claude, Cursor & Sweep aligned with your repo's rules. * **Go-Pre-commit System** - [High-performance Go-native pre-commit hooks](https://github.com/mrz1836/go-pre-commit) with 17x faster executionβ€”run the same formatting, linting, and tests before every commit, just like CI. * **Zero Python Dependencies** - Pure Go implementation with environment-based configuration via [.env.base](.github/.env.base). * **DevContainers for Instant Onboarding** – Launch a ready-to-code environment in seconds with [VS Code DevContainers](https://containers.dev/) and the included [.devcontainer.json](.devcontainer.json) config.
Repository File Glossary
This glossary describes each tracked file in the repository and notes if it is required for GitHub or another external service. | File Path | Description | Service | |------------------------------------------------------------------------------------------------|-------------------------------------------------|------------------| | [.cursorrules](.cursorrules) | Rules for Cursor AI integrations | Cursor | | [.devcontainer.json](.devcontainer.json) | VS Code dev or GitHub container configuration | VS Code & GitHub | | [.dockerignore](.dockerignore) | Paths ignored by Docker builds | Docker | | [.editorconfig](.editorconfig) | Editor configuration defaults | Editor | | [.gitattributes](.gitattributes) | Git attributes and export settings | Git | | [.github/.env.base](.github/.env.base) | Shared environment variables for GitHub Actions | GitHub Actions | | [.github/.env.custom](.github/.env.custom) | Custom environment variables for GitHub Actions | GitHub Actions | | [.github/AGENTS.md](.github/AGENTS.md) | Contribution rules and guidelines | GitHub | | [.github/CLAUDE.md](.github/CLAUDE.md) | Claude agent instructions | Claude | | [.github/CODEOWNERS](.github/CODEOWNERS) | Code ownership declarations for GitHub | GitHub | | [.github/CODE_OF_CONDUCT.md](.github/CODE_OF_CONDUCT.md) | Community behavior standards | GitHub | | [.github/CODE_STANDARDS.md](.github/CODE_STANDARDS.md) | Coding style guide | GitHub | | [.github/CONTRIBUTING.md](.github/CONTRIBUTING.md) | How to contribute to the project | GitHub | | [.github/FUNDING.yml](.github/FUNDING.yml) | Funding links displayed by GitHub | GitHub | | [.github/IMAGES/go-share-image.png](.github/IMAGES/go-share-image.png) | Social sharing image | GitHub | | [.github/ISSUE_TEMPLATE/bug_report.yml](.github/ISSUE_TEMPLATE/bug_report.yml) | Issue template for bug reports | GitHub | | [.github/ISSUE_TEMPLATE/feature_request.yml](.github/ISSUE_TEMPLATE/feature_request.yml) | Issue template for feature requests | GitHub | | [.github/ISSUE_TEMPLATE/question.yml](.github/ISSUE_TEMPLATE/question.yml) | Issue template for questions | GitHub | | [.github/SECURITY.md](.github/SECURITY.md) | Security policy | GitHub | | [.github/SUPPORT.md](.github/SUPPORT.md) | Support guidelines | GitHub | | [.github/dependabot.yml](.github/dependabot.yml) | Dependabot configuration | GitHub | | [.github/labels.yml](.github/labels.yml) | Repository label definitions | GitHub | | [.github/pull_request_template.md](.github/pull_request_template.md) | Pull request description template | GitHub | | [.github/sweep.yaml](.github/sweep.yaml) | Sweep AI configuration | Sweep AI | | [.github/workflows/auto-merge-on-approval.yml](.github/workflows/auto-merge-on-approval.yml) | Workflow for automatic merges | GitHub Actions | | [.github/workflows/codeql-analysis.yml](.github/workflows/codeql-analysis.yml) | CodeQL security analysis workflow | GitHub Actions | | [.github/workflows/dependabot-auto-merge.yml](.github/workflows/dependabot-auto-merge.yml) | Auto merge Dependabot PRs | GitHub Actions | | [.github/workflows/fortress.yml](.github/workflows/fortress.yml) | Fortress security & testing workflow | GitHub Actions | | [.github/workflows/pull-request-management.yml](.github/workflows/pull-request-management.yml) | Pull request triage workflow | GitHub Actions | | [.github/workflows/scorecard.yml](.github/workflows/scorecard.yml) | OpenSSF Scorecard workflow | GitHub Actions | | [.github/workflows/stale.yml](.github/workflows/stale-check.yml) | Close stale issues and PRs | GitHub Actions | | [.github/workflows/sync-labels.yml](.github/workflows/sync-labels.yml) | Sync repository labels | GitHub Actions | | [.gitignore](.gitignore) | Files and directories Git should ignore | Git | | [.gitpod.yml](.gitpod.yml) | Gitpod workspace configuration | Gitpod | | [.golangci.json](.golangci.json) | GolangCI-Lint configuration | GolangCI-Lint | | [.goreleaser.yml](.goreleaser.yml) | GoReleaser configuration for release automation | GoReleaser | | [.prettierignore](.github/.prettierignore) | Paths ignored by Prettier formatting | Prettier | | [.prettierrc.yml](.github/.prettierrc.yml) | Prettier configuration file | Prettier | | [.vscode/extensions.json](.vscode/extensions.json) | Recommended VS Code extensions | VS Code | | [.vscode/launch.json](.vscode/launch.json) | VS Code debugging configuration | VS Code | | [.vscode/settings.json](.vscode/settings.json) | VS Code workspace settings | VS Code | | [.vscode/tasks.json](.vscode/tasks.json) | VS Code tasks configuration | VS Code | | [CITATION.cff](CITATION.cff) | Citation metadata recognized by GitHub | GitHub | | [Dockerfile](Dockerfile) | Docker image build instructions | Docker | | [LICENSE](LICENSE) | Project license | Yours! | | [README.md](README.md) | Project overview and usage | Yours! | | [codecov.yml](codecov.yml) | Codecov upload configuration | Codecov | | [examples/example.go](examples/example.go) | Example usage of the library | None | | [go.mod](go.mod) | Go module definition | Go | | [go.sum](go.sum) | Dependency checksums generated by Go | Go | | [magefile.go](magefile.go) | Magefile with MAGE-X targets | MAGE-X | | [template.go](template.go) | Main package source code | Yours! | | [template_benchmark_test.go](template_benchmark_test.go) | Go benchmark tests | Go test | | [template_example_test.go](template_example_test.go) | Example tests for documentation | Go test | | [template_fuzz_test.go](template_fuzz_test.go) | Go fuzz tests | Go test | | [template_test.go](template_test.go) | Unit tests | Go test |
Library Deployment
This project uses [goreleaser](https://github.com/goreleaser/goreleaser) for streamlined binary and library deployment to GitHub. To get started, install it via: ```bash brew install goreleaser ``` The release process is defined in the [.goreleaser.yml](.goreleaser.yml) configuration file. Then create and push a new Git tag using: ```bash magex version:bump push=true bump=patch ``` This process ensures consistent, repeatable releases with properly versioned artifacts and citation metadata.
Pre-commit Hooks
Set up the Go-Pre-commit System to run the same formatting, linting, and tests defined in [AGENTS.md](.github/AGENTS.md) before every commit: ```bash go install github.com/mrz1836/go-pre-commit/cmd/go-pre-commit@latest go-pre-commit install ``` The system is configured via [.env.base](.github/.env.base) and can be customized using also using [.env.custom](.github/.env.custom) and provides 17x faster execution than traditional Python-based pre-commit hooks. See the [complete documentation](http://github.com/mrz1836/go-pre-commit) for details.
GitHub Workflows
### πŸŽ›οΈ The Workflow Control Center All GitHub Actions workflows in this repository are powered by a single configuration files – your one-stop shop for tweaking CI/CD behavior without touching a single YAML file! 🎯 **Configuration Files:** - **[.env.base](.github/.env.base)** – Default configuration that works for most Go projects - **[.env.custom](.github/.env.custom)** – Optional project-specific overrides This magical file controls everything from: - **βš™οΈ Go version matrix** (test on multiple versions or just one) - **πŸƒ Runner selection** (Ubuntu or macOS, your wallet decides) - **πŸ”¬ Feature toggles** (coverage, fuzzing, linting, race detection, benchmarks) - **πŸ›‘οΈ Security tool versions** (gitleaks, nancy, govulncheck) - **πŸ€– Auto-merge behaviors** (how aggressive should the bots be?) - **🏷️ PR management rules** (size labels, auto-assignment, welcome messages)
| Workflow Name | Description | |------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------| | [auto-merge-on-approval.yml](.github/workflows/auto-merge-on-approval.yml) | Automatically merges PRs after approval and all required checks, following strict rules. | | [codeql-analysis.yml](.github/workflows/codeql-analysis.yml) | Analyzes code for security vulnerabilities using [GitHub CodeQL](https://codeql.github.com/). | | [dependabot-auto-merge.yml](.github/workflows/dependabot-auto-merge.yml) | Automatically merges [Dependabot](https://github.com/dependabot) PRs that meet all requirements. | | [fortress.yml](.github/workflows/fortress.yml) | Runs the GoFortress security and testing workflow, including linting, testing, releasing, and vulnerability checks. | | [pull-request-management.yml](.github/workflows/pull-request-management.yml) | Labels PRs by branch prefix, assigns a default user if none is assigned, and welcomes new contributors with a comment. | | [scorecard.yml](.github/workflows/scorecard.yml) | Runs [OpenSSF](https://openssf.org/) Scorecard to assess supply chain security. | | [stale.yml](.github/workflows/stale-check.yml) | Warns about (and optionally closes) inactive issues and PRs on a schedule or manual trigger. | | [sync-labels.yml](.github/workflows/sync-labels.yml) | Keeps GitHub labels in sync with the declarative manifest at [`.github/labels.yml`](./.github/labels.yml). |
Updating Dependencies
To update all dependencies (Go modules, linters, and related tools), run: ```bash magex deps:update ``` This command ensures all dependencies are brought up to date in a single step, including Go modules and any tools managed by [MAGE-X](https://github.com/mrz1836/mage-x). It is the recommended way to keep your development environment and CI in sync with the latest versions.
Build Commands
View all build commands ```bash script magex help ```


πŸ§ͺ Examples & Tests

All unit tests and examples run via GitHub Actions and use Go version 1.24.x. View the configuration file.

Run all tests (fast):

bash script magex test

Run all tests with race detector (slower): bash script magex test:race


⚑ Benchmarks

Run the Go benchmarks:

bash script magex bench


Benchmark Results

| Benchmark | Iterations | ns/op | B/op | allocs/op | |-------------------------------------|------------|------:|-----:|----------:| | Greet | 21,179,739 | 56.59 | 40 | 2 |

These benchmarks reflect fast, allocation-free lookups for most retrieval functions, ensuring optimal performance in production environments. Performance benchmarks for the core functions in this library, executed on an Apple M1 Max (ARM64).


πŸ› οΈ Code Standards

Read more about this Go project's code standards.


πŸ€– AI Compliance

This project documents expectations for AI assistants using a few dedicated files:

  • AGENTS.md β€” canonical rules for coding style, workflows, and pull requests used by Codex.
  • CLAUDE.md β€” quick checklist for the Claude agent.
  • .cursorrules β€” machine-readable subset of the policies for Cursor and similar tools.
  • sweep.yaml β€” rules for Sweep, a tool for code review and pull request management.

Edit AGENTS.md first when adjusting these policies, and keep the other files in sync within the same pull request.


πŸ‘₯ Maintainers

| MrZ | |:-----------------------------------------------------------------------------------------------------------:| | MrZ |


🀝 Contributing

View the contributing guidelines and please follow the code of conduct.

How can I help?

All kinds of contributions are welcome :raisedhands:! The most basic way to show your support is to star :star2: the project, or to raise issues :speechballoon:. You can also support this project by becoming a sponsor on GitHub :clap: or by making a bitcoin donation to ensure this journey continues indefinitely! :rocket:

Stars


πŸ“ License

License

Owner

  • Name: Mr. Z
  • Login: mrz1836
  • Kind: user
  • Location: BitCoin
  • Company: @skyetel @buxorg @BitcoinSchema @tonicpow @bitcoin-sv

#DevOps #Go #BitCoin

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you find go-template useful in your software or research, please cite this project using the following citation metadata. A citation helps support future development and encourages best practices in software reuse."
title: "go-template"
version: "1.3.0"
url: "https://github.com/mrz1836/go-template"
repository: "https://github.com/mrz1836/go-template"
repository-code: "https://github.com/mrz1836/go-template"
date-released: 2021-04-24
license: "Apache-2.0"
type: software
authors:
  - family-names: "Z"
    given-names: "Mr"
    name: "mrz1836"
keywords:
  - go
  - go-module
  - go-package
  - golang
  - starter-template
  - boilerplate
  - library-scaffold
  - CI/CD
  - GitHub Actions
  - GoReleaser
  - test-automation
  - open-source
  - mage
  - mage-x

abstract: "go-template is a production-ready starter scaffold for Go libraries that bundles opinionated project structure, module management, and fully automated CI/CD workflows. It integrates GitHub Actions, GoReleaser, comprehensive testing and linting, and security scanning so maintainers can focus on writing code instead of setup and infrastructure."

GitHub Events

Total
  • Release event: 8
  • Watch event: 1
  • Delete event: 37
  • Issue comment event: 46
  • Push event: 87
  • Pull request review comment event: 6
  • Pull request review event: 72
  • Pull request event: 50
  • Fork event: 1
  • Create event: 29
Last Year
  • Release event: 8
  • Watch event: 1
  • Delete event: 37
  • Issue comment event: 46
  • Push event: 87
  • Pull request review comment event: 6
  • Pull request review event: 72
  • Pull request event: 50
  • Fork event: 1
  • Create event: 29

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 3
  • Total pull requests: 143
  • Average time to close issues: 4 days
  • Average time to close pull requests: about 3 hours
  • Total issue authors: 1
  • Total pull request authors: 4
  • Average comments per issue: 0.33
  • Average comments per pull request: 1.01
  • Merged pull requests: 131
  • Bot issues: 0
  • Bot pull requests: 114
Past Year
  • Issues: 0
  • Pull requests: 54
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 hour
  • Issue authors: 0
  • Pull request authors: 3
  • Average comments per issue: 0
  • Average comments per pull request: 0.8
  • Merged pull requests: 44
  • Bot issues: 0
  • Bot pull requests: 26
Top Authors
Issue Authors
  • mrz1836 (3)
Pull Request Authors
  • dependabot[bot] (115)
  • mrz1836 (27)
  • galt-tr (2)
  • allcontributors[bot] (1)
Top Labels
Issue Labels
feature (3)
Pull Request Labels
chore (109) feature (21) codex (16) dependencies (11) automerge (6) github-actions (4) go (3) dependabot (3) prod-dependency (3) minor-update (2) gomod (2) size/XS (2) hot-fix (1) size/S (1) python (1) patch-update (1)

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 42
proxy.golang.org: github.com/mrz1836/go-template

Package template provides a robust starter template for building new Go libraries. This package implements foundational patterns and utilities for Go library development and is designed to help developers quickly scaffold, test, and maintain secure, idiomatic Go code. Key features include: - Built-in support for code quality, testing, and CI/CD workflows - Example functions and best-practice patterns for Go libraries The package is structured for modularity and ease of extension, following Go community conventions. It relies on the Go standard library and popular tools for testing and linting. Usage examples: Important notes: - Assumes Go modules are used for dependency management - No external configuration is required for basic usage - Designed for use as a starting point for new Go projects This package is part of the go-template project and is intended to be copied or forked for new Go library development.

  • Versions: 42
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Stargazers count: 6.2%
Dependent packages count: 7.0%
Average: 7.9%
Forks count: 9.0%
Dependent repos count: 9.3%
Last synced: 4 months ago

Dependencies

go.mod go
  • github.com/davecgh/go-spew v1.1.1
  • github.com/pmezard/go-difflib v1.0.0
  • github.com/stretchr/testify v1.8.0
  • gopkg.in/yaml.v3 v3.0.1
go.sum go
  • github.com/davecgh/go-spew v1.1.0
  • github.com/davecgh/go-spew v1.1.1
  • github.com/pmezard/go-difflib v1.0.0
  • github.com/stretchr/objx v0.1.0
  • github.com/stretchr/objx v0.4.0
  • github.com/stretchr/testify v1.7.1
  • github.com/stretchr/testify v1.8.0
  • gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
  • gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
  • gopkg.in/yaml.v3 v3.0.1