mirror of
https://github.com/dennwc/btrfs
synced 2025-01-02 21:12:02 +00:00
support go modules
This commit is contained in:
parent
694b569856
commit
ae959341a5
@ -1,10 +1,11 @@
|
||||
package main
|
||||
package gbtrfs
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/dennwc/btrfs"
|
||||
"github.com/spf13/cobra"
|
||||
"os"
|
||||
)
|
||||
|
||||
func init() {
|
11
cmd/gbtrfs/go.mod
Normal file
11
cmd/gbtrfs/go.mod
Normal file
@ -0,0 +1,11 @@
|
||||
module github.com/dennwc/btrfs/cmd/gbtrfs
|
||||
|
||||
go 1.12
|
||||
|
||||
require (
|
||||
github.com/dennwc/btrfs v0.0.0-20181021180244-694b569856e3
|
||||
github.com/dennwc/ioctl v1.0.0 // indirect
|
||||
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
||||
github.com/spf13/cobra v0.0.3
|
||||
github.com/spf13/pflag v1.0.3 // indirect
|
||||
)
|
10
cmd/gbtrfs/go.sum
Normal file
10
cmd/gbtrfs/go.sum
Normal file
@ -0,0 +1,10 @@
|
||||
github.com/dennwc/btrfs v0.0.0-20181021180244-694b569856e3 h1:gvAC0SRt17o5OEwJU+0Iz298dfYF/aJlSfKf9NRay6c=
|
||||
github.com/dennwc/btrfs v0.0.0-20181021180244-694b569856e3/go.mod h1:8k+PMLjFlirprJbTSZJbkj8SEkfTAn3b0JhgPPE78HI=
|
||||
github.com/dennwc/ioctl v1.0.0 h1:DsWAAjIxRqNcLn9x6mwfuf2pet3iB7aK90K4tF16rLg=
|
||||
github.com/dennwc/ioctl v1.0.0/go.mod h1:ellh2YB5ldny99SBU/VX7Nq0xiZbHphf1DrtHxxjMk0=
|
||||
github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
|
||||
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
|
||||
github.com/spf13/cobra v0.0.3 h1:ZlrZ4XsMRm04Fr5pSFxBgfND2EBVa1nLpiy1stUsX/8=
|
||||
github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
|
||||
github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
|
||||
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
|
5
go.mod
Normal file
5
go.mod
Normal file
@ -0,0 +1,5 @@
|
||||
module github.com/dennwc/btrfs
|
||||
|
||||
go 1.12
|
||||
|
||||
require github.com/dennwc/ioctl v1.0.0
|
2
go.sum
Normal file
2
go.sum
Normal file
@ -0,0 +1,2 @@
|
||||
github.com/dennwc/ioctl v1.0.0 h1:DsWAAjIxRqNcLn9x6mwfuf2pet3iB7aK90K4tF16rLg=
|
||||
github.com/dennwc/ioctl v1.0.0/go.mod h1:ellh2YB5ldny99SBU/VX7Nq0xiZbHphf1DrtHxxjMk0=
|
@ -1,4 +1,4 @@
|
||||
package main
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"bufio"
|
Loading…
Reference in New Issue
Block a user