Skip to content

Go library for writing apt transport methods

License

Notifications You must be signed in to change notification settings

bruxisma/go-apt-transport

Repository files navigation

Overview

Go Reference Coverage

This library provides a common set of operations for writing apt transport methods in golang. It does not handle the exact logic that covers every possible transport protocol, but does allow for an easy to use interface when communicating with apt or apt-get.

In addition to providing a simple interface for acquiring resources in custom transport methods, this API also exports all pieces necessary to recreate the common interfaces. This is done to provide users with more granular support over Message deserialization, Method acquisition, and introspection.

Usage

To add this as a go module simply do

$ go get occult.work/apt/transport@latest

NOTE: There is no occult.work/apt package.

Testing

To run unit tests, simply run go test ./.... All mocking, testing data, etc. is taken care of. For more "fun" output, users can use gotestfmt

$ go test -v ./... -json -cover ${PWD} 2>&1 | gotestfmt

About

Go library for writing apt transport methods

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages