mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
go get
This commit is contained in:
parent
ea74be2f2e
commit
4c1452574a
5 changed files with 3 additions and 23 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue