Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion code/src/chapter01/io/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package main

import (
"fmt"
"util"

"../../util"
)

func main() {
Expand Down
3 changes: 2 additions & 1 deletion code/src/chapter01/io/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import (
"io"
"os"
"strings"
"util"

"../../util"
)

func ReaderExample() {
Expand Down
3 changes: 2 additions & 1 deletion code/src/chapter09/testing/example_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package testing_test

import (
. "chapter09/testing"
"fmt"

. "../testing"
)

func ExampleFib() {
Expand Down
3 changes: 2 additions & 1 deletion code/src/chapter09/testing/parallel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package testing_test

import (
"bytes"
. "chapter09/testing"
"html/template"
"testing"

. "../testing"
)

var pairs = []struct {
Expand Down
2 changes: 1 addition & 1 deletion code/src/chapter09/testing/t_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

. "chapter09/testing"
. "../testing"
)

// Table-Driven Test
Expand Down