type golang.org/x/pkgsite/internal/source.urlTemplates
25 uses
golang.org/x/pkgsite/internal/source (current package)
source.go#L49: templates urlTemplates // for building URLs
source.go#L145: var urlTemplatesByKind = map[string]urlTemplates{
source.go#L159: Templates *urlTemplates `json:",omitempty"`
source.go#L184: if ji.Kind == "" && i.templates != (urlTemplates{}) {
source.go#L341: func matchStatic(moduleOrRepoPath string) (repo, relativeModulePath string, _ urlTemplates, transformCommit transformCommitFunc, _ error) {
source.go#L369: return "", "", urlTemplates{}, nil, derrors.NotFound
source.go#L407: if templates == (urlTemplates{}) {
source.go#L410: if templates == (urlTemplates{}) {
source.go#L439: templates urlTemplates
source.go#L465: func matchLegacyTemplates(ctx context.Context, sm *sourceMeta) (_ urlTemplates, transformCommit transformCommitFunc) {
source.go#L467: return urlTemplates{}, nil
source.go#L484: return urlTemplates{
source.go#L548: templates urlTemplates
source.go#L576: templates: urlTemplates{
source.go#L623: templates: urlTemplates{
source.go#L632: templates: urlTemplates{
source.go#L656: templates: urlTemplates{},
source.go#L710: type urlTemplates struct {
source.go#L719: githubURLTemplates = urlTemplates{
source.go#L726: bitbucketURLTemplates = urlTemplates{
source.go#L732: giteaURLTemplates = urlTemplates{
source.go#L738: googlesourceURLTemplates = urlTemplates{
source.go#L744: gitlab2URLTemplates = urlTemplates{
source.go#L750: fdioURLTemplates = urlTemplates{
source.go#L756: csopensourceTemplates = urlTemplates{
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |