mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Init commit
This commit is contained in:
		
							
								
								
									
										19
									
								
								gogs.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								gogs.go
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
// Copyright 2014 The Gogs Authors. All rights reserved.
 | 
			
		||||
// Use of this source code is governed by a MIT-style
 | 
			
		||||
// license that can be found in the LICENSE file.
 | 
			
		||||
 | 
			
		||||
package main
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"github.com/codegangsta/martini"
 | 
			
		||||
 | 
			
		||||
	"github.com/gogits/gogs/routers"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
const APP_VER = "0.0.0.0212"
 | 
			
		||||
 | 
			
		||||
func main() {
 | 
			
		||||
	m := martini.Classic()
 | 
			
		||||
	m.Get("/", routers.HomeGet)
 | 
			
		||||
	m.Run()
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user