summaryrefslogtreecommitdiffstats
path: root/modules/base/template.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-13 05:02:11 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-13 05:02:11 -0400
commit4c1452574a14737b52b13ee2726fb5dd53f56cc1 (patch)
tree91618a20f058db0195830a90d27c96cd6cea4c78 /modules/base/template.go
parentea74be2f2eb2356666c39448019956f9fe1c1f99 (diff)
downloadgitea-4c1452574a14737b52b13ee2726fb5dd53f56cc1.tar.gz
gitea-4c1452574a14737b52b13ee2726fb5dd53f56cc1.zip
go get
Diffstat (limited to 'modules/base/template.go')
-rw-r--r--modules/base/template.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/modules/base/template.go b/modules/base/template.go
index 863bd89e81..6241497969 100644
--- a/modules/base/template.go
+++ b/modules/base/template.go
@@ -197,15 +197,3 @@ func DiffLineTypeToStr(diffType int) string {
}
return "same"
}
-
-const (
- TPL_GO_GET_META = `<meta name="go-import" content="%s git %s">`
-)
-
-func GetGoGetMetaList() []byte {
- buf := bytes.NewBuffer([]byte(""))
- for meta := range GoGetMetas {
- buf.WriteString(fmt.Sprintf(TPL_GO_GET_META, Domain, meta))
- }
- return buf.Bytes()
-}