Logo
Explore Help
Register Sign In
admin/wire
1
0
Fork 0
You've already forked wire
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
f8e446fa171d18bfd430d7d292d096eeb63cb451
wire/internal/goose/testdata/PkgImport/foo/foo_goose.go

12 lines
120 B
Go
Raw Normal View History

goose: add a test for imports across packages Reviewed-by: Tuo Shan <shantuo@google.com> Reviewed-by: Herbie Ong <herbie@google.com>
2018-04-02 16:35:59 -07:00
//+build gooseinject
package main
goose: use marker functions instead of comments To avoid making this CL too large, I did not migrate the existing goose comments through the repository. This will be addressed in a subsequent CL. Reviewed-by: Tuo Shan <shantuo@google.com>
2018-04-27 13:44:54 -04:00
import (
"codename/goose"
)
goose: add a test for imports across packages Reviewed-by: Tuo Shan <shantuo@google.com> Reviewed-by: Herbie Ong <herbie@google.com>
2018-04-02 16:35:59 -07:00
goose: use marker functions instead of comments To avoid making this CL too large, I did not migrate the existing goose comments through the repository. This will be addressed in a subsequent CL. Reviewed-by: Tuo Shan <shantuo@google.com>
2018-04-27 13:44:54 -04:00
func injectFooBar() FooBar {
panic(goose.Use(Set))
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 30ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API