diff options
Diffstat (limited to 'example1')
| -rw-r--r-- | example1/Makefile | 8 | ||||
| -rw-r--r-- | example1/go.mod | 3 | ||||
| -rw-r--r-- | example1/main.go | 2 |
3 files changed, 12 insertions, 1 deletions
diff --git a/example1/Makefile b/example1/Makefile index 7b4c2b6..443064f 100644 --- a/example1/Makefile +++ b/example1/Makefile @@ -1,3 +1,11 @@ all: # go build GO111MODULE="off" go run main.go + +goimports: + goimports -w *.go + +redomod: + rm -f go.* + GO111MODULE= go mod init + GO111MODULE= go mod tidy diff --git a/example1/go.mod b/example1/go.mod new file mode 100644 index 0000000..0cd8c1f --- /dev/null +++ b/example1/go.mod @@ -0,0 +1,3 @@ +module go.wit.com/lib/gui/shell/example1 + +go 1.21.4 diff --git a/example1/main.go b/example1/main.go index 6aa9399..f9998a5 100644 --- a/example1/main.go +++ b/example1/main.go @@ -9,7 +9,7 @@ import "os" // import "github.com/davecgh/go-spew/spew" -import "go.wit.com/shell" +import "go.wit.com/lib/gui/shell" func main() { shell.Run("ls /tmp") |
