diff options
Diffstat (limited to 'modules/base/template.go')
-rw-r--r-- | modules/base/template.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/modules/base/template.go b/modules/base/template.go index 863bd89e..62414979 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() -} |