Update import path and mirror project docs

This commit is contained in:
Ross Light
2018-11-12 14:37:53 -08:00
parent ded9eb899b
commit 30574010a0
127 changed files with 558 additions and 206 deletions

View 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.

View 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.

View 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.

View 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.
@@ -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 {

View 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.
@@ -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!"))

View 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.
@@ -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!"))

View 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.

View 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 @@ package main
import (
"example.com/bar"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectedMessage() string {

View 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.
@@ -17,7 +17,7 @@ package main
import (
"fmt"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func main() {

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFooBar() FooBar {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectBar() (*Bar, func()) {

View 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.
@@ -22,7 +22,7 @@ package main
import (
"fmt"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func main() {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectedBaz() Baz {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectedMessage() string {

View 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.
@@ -20,7 +20,7 @@ import (
"fmt"
"time"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func main() {

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
// initApp returns a real app.

View 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.
@@ -14,7 +14,7 @@
package bar
import "github.com/google/go-cloud/wire"
import "github.com/google/wire"
var Value = wire.Value(PublicMsg)

View 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.

View 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 @@ package main
import (
"example.com/bar"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectedMessage() string {

View 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.
@@ -17,7 +17,7 @@ package bar
import (
"os"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
var Value = wire.Value(os.Stdout)

View 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.

View 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.
@@ -20,7 +20,7 @@ import (
"os"
"example.com/bar"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectedFile() *os.File {

View 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() {

View 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 @@ package main
import (
"example.com/foo"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFooer() foo.Fooer {

View 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.

View 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.
@@ -17,7 +17,7 @@ package main
import (
"fmt"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func main() {

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFooBar(foo Foo) FooBar {

View 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.
@@ -17,7 +17,7 @@ package main
import (
"fmt"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func main() {

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectBar(foo Foo) Bar {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectedMessage() string {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFoo() Foo {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFoo() Foo {

View 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.
@@ -17,7 +17,7 @@ package main
import (
"fmt"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func main() {

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFooer() Fooer {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFooer() Fooer {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFooer() Fooer {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFooer() Fooer {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFooBar() FooBar {

View 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.

View 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.
@@ -20,7 +20,7 @@ import (
"io"
"strings"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectedReader() io.Reader {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
"io"
)

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectedMessage() string {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectedMessage() string {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFoo() Foo {

View 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 (
"io"
"strings"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
type context struct{}

View 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.
@@ -19,7 +19,7 @@ package main
import (
"strings"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func inject() Foo {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectMissingOutputType() Foo {

View 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.

View 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.

View 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.

View 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.
@@ -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 {

View 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.

View 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.
@@ -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) {

View 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.
@@ -25,7 +25,7 @@ import (
"os"
"reflect"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
type context struct{}

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectedMessage() string {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectedMessage() string {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFooer() Fooer {

View 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.

View 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.
@@ -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

View 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.

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectBaz() (Baz, func(), error) {

View 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.

View 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/bar"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func main() {

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFooBar() FooBar {

View 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.

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectedMessage() string {

View 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.

View 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.
@@ -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

View 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.
@@ -19,7 +19,7 @@ import (
"fmt"
"strings"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func main() {

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFoo() (Foo, error) {

View 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.
@@ -17,7 +17,7 @@ package main
import (
"fmt"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func main() {

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFooBar() FooBar {

View 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.
@@ -17,7 +17,7 @@ package main
import (
"fmt"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func main() {

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFooBar() *FooBar {

View 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.
@@ -17,7 +17,7 @@ package main
import (
"fmt"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func main() {

View 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.
@@ -17,7 +17,7 @@
package main
import (
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectFooBar() FooBar {

View 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.

View 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.

View 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 @@ package main
import (
"example.com/bar"
"github.com/google/go-cloud/wire"
"github.com/google/wire"
)
func injectedBar() string {

View 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.
@@ -14,7 +14,7 @@
package bar
import "github.com/google/go-cloud/wire"
import "github.com/google/wire"
var Value = wire.Value(privateMsg)

View 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.

Some files were not shown because too many files have changed in this diff Show More