GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MacroPower/go_template: A template for my Go projects.

BranchesTags
Open more actions menu

Latest commit

 

History

96 Commits
96 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.taskfiles
.taskfiles
 
 
ci
ci
 
 
cmd/go_template
cmd/go_template
 
 
.commitlintrc.yaml
.commitlintrc.yaml
 
 
.editorconfig
.editorconfig
 
 
.envrc
.envrc
 
 
.gitignore
.gitignore
 
 
.golangci.yaml
.golangci.yaml
 
 
.goreleaser.yaml
.goreleaser.yaml
 
 
.lefthook.yaml
.lefthook.yaml
 
 
.prettierignore
.prettierignore
 
 
.prettierrc.yaml
.prettierrc.yaml
 
 
CLAUDE.md
CLAUDE.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
Taskfile.yaml
Taskfile.yaml
 
 
dagger.json
dagger.json
 
 
devbox.json
devbox.json
 
 
devbox.lock
devbox.lock
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 

Repository files navigation

go_template

A template for my Go projects.

Features

  • Linting and formatting (golangci-lint v2, prettier).
  • Reproducible dev environment (devbox), auto-activated with direnv.
  • Dagger-based CI: every gate runs through the local ci toolchain (dagger call ci <task>), composing shared toolchains from go.jacobcolvin.com/x (devbox, goreleaser, security, zizmor).
  • Conventional-commit enforcement (commitlint + lefthook git hooks).
  • Build and release automation (goreleaser binaries plus Dagger-native multi-arch images with cosign keyless signing).
  • Cobra command-line interface with fang; structured logging and profiling from go.jacobcolvin.com/x.
  • Taskfile with format, lint, test, check, and build targets.

Install

task build          # cross-compile snapshot binaries to ./dist via Dagger
go install ./cmd/go_template

Usage

go_template hello
go_template version

Development

devbox install      # provision the toolchain (or run `direnv allow`)
task check          # local gate: lint + test
task check:all      # everything CI runs (adds the Dagger-backed gates)

About

A template for my Go projects.

Resources

Readme
Apache-2.0 license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.