Skip to content

Commit

Permalink
fix: remove godep dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com>
  • Loading branch information
moul committed Sep 8, 2020
1 parent 7e45667 commit 5295201
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
13 changes: 6 additions & 7 deletions encoding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package u_test
import (
"fmt"

"moul.io/godev"
"moul.io/u"
)

Expand All @@ -19,9 +18,9 @@ func ExampleB64Decode() {
}

func ExamplePrettyJSON() {
fmt.Println(godev.PrettyJSON([]string{"hello", "world"}))
fmt.Println(godev.PrettyJSON(42))
fmt.Println(godev.PrettyJSON(nil))
fmt.Println(u.PrettyJSON([]string{"hello", "world"}))
fmt.Println(u.PrettyJSON(42))
fmt.Println(u.PrettyJSON(nil))
// Output:
// [
// "hello",
Expand All @@ -32,9 +31,9 @@ func ExamplePrettyJSON() {
}

func ExampleJSON() {
fmt.Println(godev.JSON([]string{"hello", "world"}))
fmt.Println(godev.JSON(42))
fmt.Println(godev.JSON(nil))
fmt.Println(u.JSON([]string{"hello", "world"}))
fmt.Println(u.JSON(42))
fmt.Println(u.JSON(nil))
// Output:
// ["hello","world"]
// 42
Expand Down
3 changes: 2 additions & 1 deletion go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5295201

Please sign in to comment.