gogs/gogs.go

20 lines
365 B
Go
Raw Normal View History

2014-02-12 12:49:46 -05:00
// 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()
}