mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	* Include Go version * fix import order
This commit is contained in:
		
				
					committed by
					
						
						techknowlogick
					
				
			
			
				
	
			
			
			
						parent
						
							2c26521579
						
					
				
				
					commit
					f28e17473c
				
			
							
								
								
									
										5
									
								
								main.go
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								main.go
									
									
									
									
									
								
							@@ -8,6 +8,7 @@ package main // import "code.gitea.io/gitea"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"os"
 | 
						"os"
 | 
				
			||||||
 | 
						"runtime"
 | 
				
			||||||
	"strings"
 | 
						"strings"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"code.gitea.io/gitea/cmd"
 | 
						"code.gitea.io/gitea/cmd"
 | 
				
			||||||
@@ -61,8 +62,8 @@ arguments - which can alternatively be run by running the subcommand web.`
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
func formatBuiltWith(Tags string) string {
 | 
					func formatBuiltWith(Tags string) string {
 | 
				
			||||||
	if len(Tags) == 0 {
 | 
						if len(Tags) == 0 {
 | 
				
			||||||
		return ""
 | 
							return " built with " + runtime.Version()
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return " built with: " + strings.Replace(Tags, " ", ", ", -1)
 | 
						return " built with " + runtime.Version() + " : " + strings.Replace(Tags, " ", ", ", -1)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user