Skip to content

Repository files navigation

Action Status

Go Template

A minimal Go project template with comprehensive linting, testing, and CI/CD setup.

Features

  • Go 1.27 with tooling
  • Linting with golangci-lint
  • Vulnerability scanning with govulncheck
  • Task automation with Taskfile
  • GitHub Actions CI/CD
  • Release management with changelog automation

Quick Start

Prerequisites

  • Go 1.27 or later
  • Task for task automation

Development Commands

  • task - Show all available tasks
  • task test - Run tests with coverage
  • task lint - Run linter checks
  • task fmt - Tidy dependencies, format code, and scan for vulnerabilities

Release Process

task ci:prepare-release VERSION=1.0.0

This validates the version bump, extracts release notes from CHANGELOG.md, and updates the changelog.

About

Template for new go projects

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages