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/Vendor/foo/goose.go

13 lines
145 B
Go
Raw Normal View History

goose: strip vendor from generated import paths This allows goose to work more gracefully in a vgo setting. Reviewed-by: Tuo Shan <shantuo@google.com>
2018-04-04 10:58:07 -07:00
//+build gooseinject
package main
import (
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
"bar"
"codename/goose"
goose: strip vendor from generated import paths This allows goose to work more gracefully in a vgo setting. Reviewed-by: Tuo Shan <shantuo@google.com>
2018-04-04 10:58:07 -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 injectedMessage() string {
panic(goose.Use(bar.ProvideMessage))
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 35ms 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