mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Add golangci (#6418)
This commit is contained in:
		@@ -29,11 +29,6 @@ func numericIssueLink(baseURL string, index int) string {
 | 
			
		||||
	return link(util.URLJoin(baseURL, strconv.Itoa(index)), fmt.Sprintf("#%d", index))
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// urlContentsLink an HTML link whose contents is the target URL
 | 
			
		||||
func urlContentsLink(href string) string {
 | 
			
		||||
	return link(href, href)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// link an HTML link
 | 
			
		||||
func link(href, contents string) string {
 | 
			
		||||
	return fmt.Sprintf("<a href=\"%s\">%s</a>", href, contents)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user