clean go mod

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-14 11:49:34 -06:00
parent d8f796af33
commit 2856d50d00
8 changed files with 13 additions and 6 deletions

4
spew/Makefile Normal file
View File

@ -0,0 +1,4 @@
redomod:
rm -f go.*
GO111MODULE= go mod init
GO111MODULE= go mod tidy

View File

@ -21,7 +21,7 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/davecgh/go-spew/spew" "go.wit.com/dev/davecgh/go-spew/spew"
) )
// custom type to test Stinger interface on non-pointer receiver. // custom type to test Stinger interface on non-pointer receiver.

View File

@ -67,7 +67,7 @@ import (
"testing" "testing"
"unsafe" "unsafe"
"github.com/davecgh/go-spew/spew" "go.wit.com/dev/davecgh/go-spew/spew"
) )
// dumpTest is used to describe a test to be performed against the Dump method. // dumpTest is used to describe a test to be performed against the Dump method.

View File

@ -26,7 +26,7 @@ package spew_test
import ( import (
"fmt" "fmt"
"github.com/davecgh/go-spew/spew/testdata" "go.wit.com/dev/davecgh/go-spew/spew/testdata"
) )
func addCgoDumpTests() { func addCgoDumpTests() {

View File

@ -19,7 +19,7 @@ package spew_test
import ( import (
"fmt" "fmt"
"github.com/davecgh/go-spew/spew" "go.wit.com/dev/davecgh/go-spew/spew"
) )
type Flag int type Flag int

View File

@ -72,7 +72,7 @@ import (
"testing" "testing"
"unsafe" "unsafe"
"github.com/davecgh/go-spew/spew" "go.wit.com/dev/davecgh/go-spew/spew"
) )
// formatterTest is used to describe a test to be performed against NewFormatter. // formatterTest is used to describe a test to be performed against NewFormatter.

3
spew/go.mod Normal file
View File

@ -0,0 +1,3 @@
module go.wit.com/dev/davecgh/go-spew/spew
go 1.21.4

View File

@ -23,7 +23,7 @@ import (
"os" "os"
"testing" "testing"
"github.com/davecgh/go-spew/spew" "go.wit.com/dev/davecgh/go-spew/spew"
) )
// spewFunc is used to identify which public function of the spew package or // spewFunc is used to identify which public function of the spew package or