Compare commits
No commits in common. "guimaster" and "github" have entirely different histories.
|
@ -3,9 +3,6 @@
|
|||
*.a
|
||||
*.so
|
||||
|
||||
#test files
|
||||
profile.cov
|
||||
|
||||
# Folders
|
||||
_obj
|
||||
_test
|
||||
|
|
16
Makefile
16
Makefile
|
@ -1,16 +0,0 @@
|
|||
all:
|
||||
@echo
|
||||
@echo the github branch in this repo has the davecgh\'s master branch
|
||||
@echo
|
||||
@echo this is an experiement by me to learn how go modules and versioning works
|
||||
@echo go-spew is a great tool. thanks dave!
|
||||
@echo
|
||||
|
||||
test:
|
||||
go test -v -race -tags safe ./
|
||||
go test -v -race -tags testcgo ./ -covermode=atomic -coverprofile=profile.cov
|
||||
|
||||
redomod:
|
||||
rm -f go.*
|
||||
GO111MODULE= go mod init
|
||||
GO111MODULE= go mod tidy
|
|
@ -21,7 +21,7 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"go.wit.com/dev/davecgh/spew"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
||||
// custom type to test Stinger interface on non-pointer receiver.
|
|
@ -67,7 +67,7 @@ import (
|
|||
"testing"
|
||||
"unsafe"
|
||||
|
||||
"go.wit.com/dev/davecgh/spew"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
||||
// dumpTest is used to describe a test to be performed against the Dump method.
|
|
@ -26,7 +26,7 @@ package spew_test
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"go.wit.com/dev/davecgh/spew/testdata"
|
||||
"github.com/davecgh/go-spew/spew/testdata"
|
||||
)
|
||||
|
||||
func addCgoDumpTests() {
|
|
@ -19,7 +19,7 @@ package spew_test
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"go.wit.com/dev/davecgh/spew"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
||||
type Flag int
|
|
@ -72,7 +72,7 @@ import (
|
|||
"testing"
|
||||
"unsafe"
|
||||
|
||||
"go.wit.com/dev/davecgh/spew"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
||||
// formatterTest is used to describe a test to be performed against NewFormatter.
|
|
@ -23,7 +23,7 @@ import (
|
|||
"os"
|
||||
"testing"
|
||||
|
||||
"go.wit.com/dev/davecgh/spew"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
||||
// spewFunc is used to identify which public function of the spew package or
|
Loading…
Reference in New Issue