Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit c2b15f9

Browse files
committed
rename source
1 parent fecc592 commit c2b15f9

File tree

142 files changed

+290
-219
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+290
-219
lines changed

_tutorial/wire.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// The build tag makes sure the stub is not built in the final build.
1919
package main
2020

21-
import "github.com/google/wire"
21+
import "github.com/aqaurius6666/wire"
2222

2323
// InitializeEvent creates an Event. It will error if the Event is staffed with
2424
// a grumpy greeter.

_tutorial/wire_gen.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/wire/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
// Wire is a compile-time dependency injection tool.
1616
//
17-
// For an overview, see https://github.com/google/wire/blob/master/README.md
17+
// For an overview, see https://github.com/aqaurius6666/wire/blob/master/README.md
1818
package main
1919

2020
import (
@@ -31,8 +31,8 @@ import (
3131
"strconv"
3232
"strings"
3333

34+
"github.com/aqaurius6666/wire/internal/wire"
3435
"github.com/google/subcommands"
35-
"github.com/google/wire/internal/wire"
3636
"github.com/pmezard/go-difflib/difflib"
3737
"golang.org/x/tools/go/types/typeutil"
3838
)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/google/wire
1+
module github.com/aqaurius6666/wire
22

33
go 1.12
44

internal/wire/parse.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ func processStructLiteralProvider(fset *token.FileSet, typeName *types.TypeName)
768768

769769
pos := typeName.Pos()
770770
fmt.Fprintf(os.Stderr,
771-
"Warning: %v, see https://godoc.org/github.com/google/wire#Struct for more information.\n",
771+
"Warning: %v, see https://godoc.org/github.com/aqaurius6666/wire#Struct for more information.\n",
772772
notePosition(fset.Position(pos),
773773
fmt.Errorf("using struct literal to inject %s is deprecated and will be removed in the next release; use wire.Struct instead",
774774
typeName.Type())))
@@ -1139,7 +1139,7 @@ func isWireImport(path string) bool {
11391139
if i := strings.LastIndex(path, vendorPart); i != -1 && (i == 0 || path[i-1] == '/') {
11401140
path = path[i+len(vendorPart):]
11411141
}
1142-
return path == "github.com/google/wire"
1142+
return path == "github.com/aqaurius6666/wire"
11431143
}
11441144

11451145
func isProviderSetType(t types.Type) bool {

internal/wire/testdata/BindInjectorArg/foo/wire.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414
//
15-
//+build wireinject
15+
//go:build wireinject
16+
// +build wireinject
1617

1718
package main
1819

1920
import (
20-
"github.com/google/wire"
21+
"github.com/aqaurius6666/wire"
2122
)
2223

2324
func inject(foo Foo) *Bar {

internal/wire/testdata/BindInjectorArg/want/wire_gen.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/wire/testdata/BindInjectorArgPointer/foo/wire.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414
//
15-
//+build wireinject
15+
//go:build wireinject
16+
// +build wireinject
1617

1718
package main
1819

1920
import (
20-
"github.com/google/wire"
21+
"github.com/aqaurius6666/wire"
2122
)
2223

2324
func inject(foo *Foo) *Bar {

internal/wire/testdata/BindInjectorArgPointer/want/wire_gen.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/wire/testdata/BindInterfaceWithValue/foo/wire.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414
//
15-
//+build wireinject
15+
//go:build wireinject
16+
// +build wireinject
1617

1718
package main
1819

1920
import (
2021
"io"
2122
"os"
2223

23-
"github.com/google/wire"
24+
"github.com/aqaurius6666/wire"
2425
)
2526

2627
func inject() io.Writer {

0 commit comments

Comments
 (0)