archive

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package archive provides the use-case to archive an executable file and extra files.

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Archive

type Archive struct {
	FileSystem fs.Interface
}

func (*Archive) Do

func (u *Archive) Do(in Input) error

type Entry

type Entry struct {
	Filename      string // filename in the archive
	InputFilename string
}

type Input

type Input struct {
	OutputFilename string
	Entries        []Entry
}

type Interface

type Interface interface {
	Do(in Input) error
}

Directories

Path Synopsis
Package mock_archive is a generated GoMock package.
Package mock_archive is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL