From 89de95b50382d25235dc95cafcc3bb8a0149587e Mon Sep 17 00:00:00 2001 From: Arthur Axel 'fREW' Schmidt Date: Fri, 5 Apr 2019 23:17:02 -0700 Subject: [PATCH] MOVED --- README.md | 82 ++----------------------------------------------------- 1 file changed, 2 insertions(+), 80 deletions(-) diff --git a/README.md b/README.md index 84432af..bde5311 100644 --- a/README.md +++ b/README.md @@ -1,81 +1,3 @@ +# Moved - -# mozlz4 -`import "github.com/frioux/mozlz4"` - -* [Overview](#pkg-overview) -* [Index](#pkg-index) -* [Examples](#pkg-examples) - -## Overview - - -#### Example - -Code: -``` go -file, err := os.Open(os.Args[1]) -if err != nil { - fmt.Fprintf(os.Stderr, "Couldn't open: %s\n", err) - os.Exit(1) -} - -r, err := mozlz4.NewReader(file) -_, err = io.Copy(os.Stdout, r) -if err != nil { - fmt.Fprintf(os.Stderr, "Couldn't copy: %s\n", err) - os.Exit(1) -} -``` - - -## Index -* [Variables](#pkg-variables) -* [func NewReader(r io.Reader) (io.Reader, error)](#NewReader) - -#### Examples -* [Package](#example_) - -#### Package files -[mozlz4.go](https://github.com/frioux/mozlz4/tree/master/mozlz4.go) - - - -## Variables -``` go -var ( - ErrWrongHeader = errors.New("no mozLz4 header") - ErrWrongSize = errors.New("header size incorrect") -) -``` -Errors - - - -## func [NewReader](https://github.com/frioux/mozlz4/tree/master/mozlz4.go?s=622:668#L29) -``` go -func NewReader(r io.Reader) (io.Reader, error) -``` -NewReader returns an io.Reader that decompresses the data from r. - - - - - - - - - -## Copyright 2018 Arthur Axel fREW Schmidt - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. +[Use `github.com/frioux/leatherman/pkg/mozlz4` instead.](https://github.com/frioux/leatherman/tree/master/pkg/mozlz4)