*: import paths and a README

This will make the packaages/components individually more consumable

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2017-04-18 14:58:56 -04:00
parent b52074c355
commit 9a67c61b15
Signed by: vbatts
GPG key ID: 10937E57733F1362
37 changed files with 65 additions and 54 deletions

View file

@ -3,7 +3,7 @@ package main
import (
"fmt"
flag "github.com/containers/storage/pkg/mflag"
flag "github.com/containers/pkg/mflag"
)
var (

View file

@ -9,7 +9,7 @@
// Define flags using flag.String(), Bool(), Int(), etc.
//
// This declares an integer flag, -f or --flagname, stored in the pointer ip, with type *int.
// import "flag /github.com/containers/storage/pkg/mflag"
// import "flag /github.com/containers/pkg/mflag"
// var ip = flag.Int([]string{"f", "-flagname"}, 1234, "help message for flagname")
// If you like, you can bind the flag to a variable using the Var() functions.
// var flagvar int
@ -92,7 +92,7 @@ import (
"text/tabwriter"
"time"
"github.com/containers/storage/pkg/homedir"
"github.com/containers/pkg/homedir"
)
// ErrHelp is the error returned if the flag -help is invoked but no such flag is defined.