x

package module
v1.14.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: OSL-3.0 Imports: 15 Imported by: 0

README

X

Soon I’ll have the courage
To leave my thoughts behind
I’ll give back all the knowledge
And keep the wisdom precious in my mind

Massive Attack (1994)

Small Go packages

Music

  • MusicBrainz
  • SoundCloud
  • YouTube

Extract

  • 7z
  • Bzip2
  • Gzip
  • Zstandard

Logging

The HTTP functions will not make a request if the destination already exists as a regular file. Print a message if a request is actually made. No printing for other functions at this time.

Documentation

Overview

Small Go packages

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(source, dest string) (int64, error)

func LogFail added in v1.10.3

func LogFail(verb string, noun interface{})

func LogInfo added in v1.10.3

func LogInfo(verb string, noun interface{})

func LogPass added in v1.10.3

func LogPass(verb string, noun interface{})

func TarGzMemory added in v1.13.4

func TarGzMemory(source string) (fstest.MapFS, error)

Types

type Archive added in v1.13.4

type Archive struct{ Strip int }

func (Archive) Bz2 added in v1.13.4

func (a Archive) Bz2(source, dest string) error

func (Archive) Gz added in v1.13.4

func (a Archive) Gz(source, dest string) error

func (Archive) Xz added in v1.13.4

func (a Archive) Xz(source, dest string) error

func (Archive) Zip added in v1.13.4

func (a Archive) Zip(source, dest string) error

func (Archive) Zst added in v1.13.4

func (a Archive) Zst(source, dest string) error

type Cmd added in v1.13.0

type Cmd struct{ Dir string }

func (Cmd) Out added in v1.13.0

func (c Cmd) Out(name string, arg ...string) (string, error)

func (Cmd) Run added in v1.13.0

func (c Cmd) Run(name string, arg ...string) error

type Install added in v1.11.2

type Install struct {
	Cache, Dest string
	// contains filtered or unexported fields
}

func NewInstall added in v1.11.2

func NewInstall(prefix, source string) Install

func (*Install) SetCache added in v1.11.3

func (i *Install) SetCache() error

Directories

Path Synopsis
MusicBrainz
MusicBrainz
Go package for low-level interaction with the operating system
Go package for low-level interaction with the operating system

Jump to

Keyboard shortcuts

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