Update import path and mirror project docs
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -881,7 +881,7 @@ func isWireImport(path string) bool {
|
||||
if i := strings.LastIndex(path, vendorPart); i != -1 && (i == 0 || path[i-1] == '/') {
|
||||
path = path[i+len(vendorPart):]
|
||||
}
|
||||
return path == "github.com/google/go-cloud/wire"
|
||||
return path == "github.com/google/wire" || path == "github.com/google/go-cloud/wire"
|
||||
}
|
||||
|
||||
func isProviderSetType(t types.Type) bool {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
// Package bar includes both wireinject and non-wireinject variants.
|
||||
package bar
|
||||
|
||||
import "github.com/google/go-cloud/wire"
|
||||
import "github.com/google/wire"
|
||||
|
||||
// Set provides an unfriendly user greeting.
|
||||
var Set = wire.NewSet(wire.Value("Bah humbug! This is the wrong variant!"))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
package bar
|
||||
|
||||
import "github.com/google/go-cloud/wire"
|
||||
import "github.com/google/wire"
|
||||
|
||||
// Set provides a friendly user greeting.
|
||||
var Set = wire.NewSet(wire.Value("Hello, World!"))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -18,7 +18,7 @@ package main
|
||||
|
||||
import (
|
||||
"example.com/bar"
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectedMessage() string {
|
||||
|
||||
4
internal/wire/testdata/Chain/foo/foo.go
vendored
4
internal/wire/testdata/Chain/foo/foo.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
4
internal/wire/testdata/Chain/foo/wire.go
vendored
4
internal/wire/testdata/Chain/foo/wire.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFooBar() FooBar {
|
||||
|
||||
2
internal/wire/testdata/Cleanup/foo/foo.go
vendored
2
internal/wire/testdata/Cleanup/foo/foo.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
4
internal/wire/testdata/Cleanup/foo/wire.go
vendored
4
internal/wire/testdata/Cleanup/foo/wire.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectBar() (*Bar, func()) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -22,7 +22,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
2
internal/wire/testdata/Cycle/foo/foo.go
vendored
2
internal/wire/testdata/Cycle/foo/foo.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
4
internal/wire/testdata/Cycle/foo/wire.go
vendored
4
internal/wire/testdata/Cycle/foo/wire.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectedBaz() Baz {
|
||||
|
||||
2
internal/wire/testdata/EmptyVar/foo/foo.go
vendored
2
internal/wire/testdata/EmptyVar/foo/foo.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
4
internal/wire/testdata/EmptyVar/foo/wire.go
vendored
4
internal/wire/testdata/EmptyVar/foo/wire.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectedMessage() string {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
// initApp returns a real app.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
package bar
|
||||
|
||||
import "github.com/google/go-cloud/wire"
|
||||
import "github.com/google/wire"
|
||||
|
||||
var Value = wire.Value(PublicMsg)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -18,7 +18,7 @@ package main
|
||||
|
||||
import (
|
||||
"example.com/bar"
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectedMessage() string {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@ package bar
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
var Value = wire.Value(os.Stdout)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"os"
|
||||
|
||||
"example.com/bar"
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectedFile() *os.File {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -18,7 +18,7 @@ import (
|
||||
"fmt"
|
||||
|
||||
"example.com/foo"
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -18,7 +18,7 @@ package main
|
||||
|
||||
import (
|
||||
"example.com/foo"
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFooer() foo.Fooer {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFooBar(foo Foo) FooBar {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectBar(foo Foo) Bar {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectedMessage() string {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFoo() Foo {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFoo() Foo {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFooer() Fooer {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFooer() Fooer {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFooer() Fooer {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFooer() Fooer {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFooBar() FooBar {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"io"
|
||||
"strings"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectedReader() io.Reader {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
"io"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectedMessage() string {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectedMessage() string {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFoo() Foo {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -18,7 +18,7 @@ import (
|
||||
"io"
|
||||
"strings"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
type context struct{}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -19,7 +19,7 @@ package main
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func inject() Foo {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectMissingOutputType() Foo {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -22,7 +22,7 @@ import (
|
||||
"example.com/bar"
|
||||
"example.com/baz"
|
||||
"example.com/foo"
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
type MainConfig struct {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -19,7 +19,7 @@ package main
|
||||
import (
|
||||
stdcontext "context"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func inject(context stdcontext.Context, err struct{}) (context, error) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -25,7 +25,7 @@ import (
|
||||
"os"
|
||||
"reflect"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
type context struct{}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectedMessage() string {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectedMessage() string {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFooer() Fooer {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -19,7 +19,7 @@ package main
|
||||
import (
|
||||
stdcontext "context"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
// The notable characteristic of this test is that there are no
|
||||
|
||||
2
internal/wire/testdata/NoopBuild/foo/foo.go
vendored
2
internal/wire/testdata/NoopBuild/foo/foo.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectBaz() (Baz, func(), error) {
|
||||
|
||||
2
internal/wire/testdata/PkgImport/bar/bar.go
vendored
2
internal/wire/testdata/PkgImport/bar/bar.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
4
internal/wire/testdata/PkgImport/foo/foo.go
vendored
4
internal/wire/testdata/PkgImport/foo/foo.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -18,7 +18,7 @@ import (
|
||||
"fmt"
|
||||
|
||||
"example.com/bar"
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
4
internal/wire/testdata/PkgImport/foo/wire.go
vendored
4
internal/wire/testdata/PkgImport/foo/wire.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFooBar() FooBar {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectedMessage() string {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
// Wire tries to disambiguate the variable "select" by prepending
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -19,7 +19,7 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFoo() (Foo, error) {
|
||||
|
||||
4
internal/wire/testdata/Struct/foo/foo.go
vendored
4
internal/wire/testdata/Struct/foo/foo.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
4
internal/wire/testdata/Struct/foo/wire.go
vendored
4
internal/wire/testdata/Struct/foo/wire.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFooBar() FooBar {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFooBar() *FooBar {
|
||||
|
||||
4
internal/wire/testdata/TwoDeps/foo/foo.go
vendored
4
internal/wire/testdata/TwoDeps/foo/foo.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
4
internal/wire/testdata/TwoDeps/foo/wire.go
vendored
4
internal/wire/testdata/TwoDeps/foo/wire.go
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectFooBar() FooBar {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -18,7 +18,7 @@ package main
|
||||
|
||||
import (
|
||||
"example.com/bar"
|
||||
"github.com/google/go-cloud/wire"
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func injectedBar() string {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
package bar
|
||||
|
||||
import "github.com/google/go-cloud/wire"
|
||||
import "github.com/google/wire"
|
||||
|
||||
var Value = wire.Value(privateMsg)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018 The Go Cloud Authors
|
||||
// Copyright 2018 The Wire Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user