Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 984 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 984 Bytes

pacmod

logo

GoDoc Go Report Card

Pacmod is a small tool that can be used to package up your Go modules for distribution. This will be typically used for pushing artifacts to a Go module store such as Athens.

Installation

go get github.com/plexsystems/pacmod

Usage

Run the pack command in the directory containing your go.mod. For example:

pacmod pack v1.0.0 outputdirectory

This will result in the following files being placed in the outputdirectory:

  • go.mod - The current mod file when the pack command was executed
  • v1.0.0.info - The info file containing the module version and timestamp
  • v1.0.0.zip - An archive containing the Go module