*: 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:
parent
b52074c355
commit
9a67c61b15
37 changed files with 65 additions and 54 deletions
|
@ -3,7 +3,7 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
flag "github.com/containers/storage/pkg/mflag"
|
||||
flag "github.com/containers/pkg/mflag"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue