Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/plexsystems/pacmod
:package: Package your Go modules
https://github.com/plexsystems/pacmod
Last synced: 3 months ago
JSON representation
:package: Package your Go modules
- Host: GitHub
- URL: https://github.com/plexsystems/pacmod
- Owner: plexsystems
- License: mit
- Created: 2019-08-09T20:15:53.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-13T21:24:55.000Z (11 months ago)
- Last Synced: 2024-08-02T01:25:37.700Z (6 months ago)
- Language: Go
- Homepage:
- Size: 35.2 KB
- Stars: 41
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - plexsystems/pacmod - :package: Package your Go modules (Go)
README
# pacmod
![logo](logo/pacmod_logo.png)
[![GoDoc](https://godoc.org/github.com/plexsystems/pacmod?status.svg)](https://godoc.org/github.com/plexsystems/pacmod)
[![Go Report Card](https://goreportcard.com/badge/github.com/plexsystems/pacmod)](https://goreportcard.com/report/github.com/plexsystems/pacmod)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](https://github.com/gomods/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