Skip to content

Commit

Permalink
Merge pull request #90 from hezhizhen/import
Browse files Browse the repository at this point in the history
Fix import path
  • Loading branch information
teivah authored Sep 12, 2024
2 parents 22ac4b3 + d9a22db commit 2cbe091
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/teivah/100-go-mistakes

go 1.18

require golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
require golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/teivah/100-go-mistakes/02-code-project-organization/3-init-functions/redis"
"github.com/teivah/100-go-mistakes/src/02-code-project-organization/3-init-functions/redis"
)

func init() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package client

import "github.com/teivah/100-go-mistakes/02-code-project-organization/6-interface-producer/store"
import "github.com/teivah/100-go-mistakes/src/02-code-project-organization/6-interface-producer/store"

type customersGetter interface {
GetAllCustomers() ([]store.Customer, error)
Expand Down
2 changes: 1 addition & 1 deletion src/08-concurrency-foundations/60-contexts/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"time"

"github.com/teivah/100-go-mistakes/08-concurrency-foundations/60-contexts/flight"
"github.com/teivah/100-go-mistakes/src/08-concurrency-foundations/60-contexts/flight"
)

type publisher interface {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package counter_test
import (
"testing"

counter "github.com/teivah/100-go-mistakes/11-testing/90-testing-features/different-package"
counter "github.com/teivah/100-go-mistakes/src/11-testing/90-testing-features/different-package"
)

func TestCount(t *testing.T) {
Expand Down

0 comments on commit 2cbe091

Please sign in to comment.